//Editor-Info: -*- C++ -*-
//
//Subject:
//
//File: trigger_freephone.h
//
//Version: $Revision: 1.6 $
//
//State: $State: Exp $
//
//Date: $Date: 1998/11/11 16:09:54 $
//
//Organisation:
//      University of Technology
// 
//Author:
//      Pasi Nummisalo
//
//Description:
//     
//
//Copyright:
//     University of Technology
//     Laboratory of Telecommunications and Multimedia 
//      
//Licence:
//     
//
//History:
//

#ifndef __CC_TRIGGER_FREEPHONE_H__
#define __CC_TRIGGER_FREEPHONE_H__

#include "triggerbase.h"

class ccProtocol;

class ccTriggerFreePhone : public ccTriggerBase
{
    public:
        ccTriggerFreePhone(void);
        virtual ~ccTriggerFreePhone(void);

        static string getStaticType(void);
        static string getDefaultCriteria(void);
        static string getDefaultCategory(void);
        static void getInfo(ccIf_TriggerType &trigger_);
        static toveinap_ServiceKeyType getDefaultServiceKey(void);
        
        virtual void setCriteria(string criteria_);
        virtual bool checkCriteria(ccProtocol *protocol_) const;
        virtual string getCriteria(void) const;
        
        virtual toveinap_TriggerTypeType getInapType(void) const;
        virtual string getType(void) const;
                         
    private:
        string _criteria;
};

#endif
