git-svn-id: svn://db.shs.com.ru/libs@389 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2018-05-28 11:32:38 +00:00
parent f2581cd605
commit 46d6928ebe
12 changed files with 85 additions and 115 deletions

View File

@@ -9,17 +9,11 @@ namespace CDUtils {
class XInterface: public Interface
{
PIOBJECT(CDUtils::XInterface)
PIOBJECT_SUBCLASS(XInterface, Interface)
public:
XInterface();
EVENT(sended)
EVENT(sendFailed)
EVENT(received)
EVENT(receiveFailed)
EVENT1(keepNamesRequest, bool*, xn)
EVENT_HANDLER(void, send);
EVENT_HANDLER(void, request);
EVENT1(receivedX, PIVector<PIDeque<int> >, pathes)
void enable(const CDType & x) {setEnabled(x, true);}