|
From: <cli...@li...> - 2007-05-24 15:47:27
|
Revision: 66
http://cligg.svn.sourceforge.net/cligg/?rev=66&view=rev
Author: sithhell
Date: 2007-05-24 08:47:23 -0700 (Thu, 24 May 2007)
Log Message:
-----------
changes ...
Modified Paths:
--------------
src/bin/CMakeLists.txt
src/bin/cligg_eventhandler.h
src/bin/cligg_modulehandler.c
src/lib/CMakeLists.txt
src/modules/dummy/dummy.c
Modified: src/bin/CMakeLists.txt
===================================================================
--- src/bin/CMakeLists.txt 2007-05-22 21:35:45 UTC (rev 65)
+++ src/bin/CMakeLists.txt 2007-05-24 15:47:23 UTC (rev 66)
@@ -1,8 +1,8 @@
-add_library(cligg_mainloop STATIC cligg_mainloop.c)
-add_library(cligg_eventhandler STATIC cligg_eventhandler.c)
-add_library(cligg_modulehandler STATIC cligg_modulehandler.c)
-add_executable(cligg cligg.c)
-target_link_libraries(cligg cligglib cligg_mainloop cligg_eventhandler cligg_modulehandler pthread dl)
+add_executable(cligg cligg.c
+ cligg_eventhandler.c
+ cligg_modulehandler.c
+ cligg_mainloop.c)
+target_link_libraries(cligg cligglib pthread dl)
add_executable(tree_test test.c)
target_link_libraries(tree_test cligglib)
-set_target_properties(cligg cligg_modulehandler PROPERTIES LINK_FLAGS -rdynamic)
+set_target_properties(cligg PROPERTIES LINK_FLAGS -rdynamic)
Modified: src/bin/cligg_eventhandler.h
===================================================================
--- src/bin/cligg_eventhandler.h 2007-05-22 21:35:45 UTC (rev 65)
+++ src/bin/cligg_eventhandler.h 2007-05-24 15:47:23 UTC (rev 66)
@@ -1,3 +1,9 @@
+/**
+ * @file cligg_eventhandler.h
+ * @brief Interface for the event handler
+ *
+ * In this file the interface for the event handler is defined
+ */
#ifndef CLIGG_EVENTHANDLER_H
#define CLIGG_EVENTHANDLER_H
@@ -3,4 +9,12 @@
#include <cligg_event.h>
+/**
+ * @defgroup cligg_eventhandler cligg_eventhandler
+ * @ingroup main_prog
+ * @brief This our event handler
+ *
+ * @{
+ */
+
int
cligg_init_handler(void);
@@ -26,4 +40,6 @@
cligg_event_cb
cligg_lookup_event(char *name);
+/* @} */
+
#endif
Modified: src/bin/cligg_modulehandler.c
===================================================================
--- src/bin/cligg_modulehandler.c 2007-05-22 21:35:45 UTC (rev 65)
+++ src/bin/cligg_modulehandler.c 2007-05-24 15:47:23 UTC (rev 66)
@@ -52,7 +52,6 @@
int cligg_register_module(char *path)
{
int ret = TRUE;
- void *test;
cligg_module *new = cligg_module_new(path);
if(new == NULL) {
Modified: src/lib/CMakeLists.txt
===================================================================
--- src/lib/CMakeLists.txt 2007-05-22 21:35:45 UTC (rev 65)
+++ src/lib/CMakeLists.txt 2007-05-24 15:47:23 UTC (rev 66)
@@ -1 +1,6 @@
-add_library(cligglib SHARED cligg_list.c cligg_tree.c cligg_btree.c cligg_hashmap.c cligg_module.c cligg_event.c)
+add_library(cligglib SHARED cligg_list.c
+ cligg_tree.c
+ cligg_btree.c
+ cligg_hashmap.c
+ cligg_module.c
+ cligg_event.c)
Modified: src/modules/dummy/dummy.c
===================================================================
--- src/modules/dummy/dummy.c 2007-05-22 21:35:45 UTC (rev 65)
+++ src/modules/dummy/dummy.c 2007-05-24 15:47:23 UTC (rev 66)
@@ -1,6 +1,21 @@
+/**
+ * @file dummy.c
+ * @brief dummy module
+ */
#include <stdio.h>
#include <cligg_module.h>
+/**
+ * @defgroup dummy dummy
+ * @ingroup load_modules
+ * @brief Dummy module
+ *
+ * Nothing fancy here, this is just a module which has a constructor and destructor.
+ * This is for testing purpose
+ *
+ * @{
+ */
+
cligg_module_init dummy_init(void)
{
fprintf(stderr, "Dummy Module is loaded!\n");
@@ -10,3 +25,5 @@
{
fprintf(stderr, "Dummy Module is unloaded!\n");
}
+
+/* @} */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|