Permalink
Browse files

Set the default component.

  • Loading branch information...
1 parent b06b9fd commit abad6db96ef55d91b19a046892966f7b7988569b @jalcine committed Mar 10, 2014
Showing with 13 additions and 3 deletions.
  1. +2 −0 CMakeLists.txt
  2. +2 −0 TODO
  3. +7 −1 lib/zeromq/CMakeLists.txt
  4. +2 −2 lib/zeromq/receiver.cpp
View
@@ -23,6 +23,8 @@ cmake_policy(SET CMP0017 NEW)
## system's logic.
set(CMAKE_MODULE_PATH
${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules)
+set(CMAKE_INSTALL_DEFAULT_COMPONENT_NAME
+ Runtime)
set(WINTERMUTE_BUILD_PREFIX
${CMAKE_INSTALL_PREFIX})
set(WINTERMUTE_PLUGIN_DEFINITION_TEMPLATE
View
2 TODO
@@ -59,6 +59,8 @@ CURRENT TASKS:
@ Added [Sun 2013-09-29]
- Incorporate a documenting tool (issue #11).
@ Added [Sun 2013-09-29]
+ - Implement the use of a state machine.
+
COMPLETED TASKS:
# vim:ft=quicktask
@@ -30,12 +30,18 @@ set ( zeromq_HDRS
module.hpp
dispatcher.hpp
receiver.hpp
+ globals.hpp
)
configure_file ( globals.hpp.in ${CMAKE_SOURCE_DIR}/lib/zeromq/globals.hpp
@ONLY )
-wintermute_plugin_declare ( TARGET zeromq SOURCES ${zeromq_SRCS} )
+wintermute_plugin_declare (
+ TARGET zeromq
+ HEADERS ${zeromq_HDRS}
+ SOURCES ${zeromq_SRCS}
+)
+
wintermute_plugin_set_version ( TARGET zeromq
PLUGIN_VERSION_MAJOR 0
PLUGIN_VERSION_MINOR 1
View
@@ -1,6 +1,6 @@
/**
* vim: ft=cpp tw=78
- * Copyright (C) 2011 - 2013 Jacky Alciné <me@jalcine.me>
+ * Copyright (C) 2011, 2012, 2013, 2014 Jacky Alciné <me@jalcine.me>
*
* Wintermute is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -53,5 +53,5 @@ Receiver::onMessageReceived ( const QList<QByteArray>& data )
}
winfo ( this, QString ( "Obtained incoming call of %1 bytes." ).arg ( chunks.size() ) );
Call* receivedCall = Call::fromString ( chunks );
- receivedCall->invoke();
+ receivedCall->operator()();
}

0 comments on commit abad6db

Please sign in to comment.