BlinkenArea - GitList
Repositories
Blog
Wiki
Blinker
Code
Commits
Branches
Tags
Search
Tree:
c39aaa1
Branches
Tags
master
Blinker
src
noarch
OpReqIf.h
clarified operator connection usage in callbacks added sound file play request to loveletter module added exit code "*#" to loveletter module
Stefan Schuermans
commited
c39aaa1
at 2011-12-23 10:59:56
OpReqIf.h
Blame
History
Raw
/* Blinker Copyright 2011 Stefan Schuermans <stefan@blinkenarea.org> Copyleft GNU public license - http://www.gnu.org/copyleft/gpl.html a blinkenarea.org project */ #ifndef BLINKER_OPREQIF_H #define BLINKER_OPREQIF_H #include <string> #include "OpConnIf.h" namespace Blinker { class OpConn; /// operator connection request interface class OpReqIf: public OpConnIf { public: /// constructor OpReqIf(); /// virtual destructor virtual ~OpReqIf(); public: /** * @brief check if accepting new operator connction is possible * @param[in] name operator interface name * @return if accepting new connection is possible */ virtual bool acceptNewOpConn(const std::string &name) = 0; /** * @brief new operator connection * @param[in] name operator interface name * @param[in] pConn operator connection object * * The new connection may not yet be used for sending inside this callback. */ virtual void newOpConn(const std::string &name, OpConn *pConn) = 0; }; // class OpReqIf } // namespace Blinker #endif // #ifndef BLINKER_OPREQIF_H