1 /* === S I N F G =========================================================== */
3 ** \brief Template Header
5 ** $Id: template.h,v 1.1.1.1 2005/01/04 01:23:09 darco Exp $
8 ** Copyright (c) 2002 Robert B. Quattlebaum Jr.
10 ** This software and associated documentation
11 ** are CONFIDENTIAL and PROPRIETARY property of
12 ** the above-mentioned copyright holder.
14 ** You may not copy, print, publish, or in any
15 ** other way distribute this software without
16 ** a prior written agreement with
17 ** the copyright holder.
20 /* ========================================================================= */
22 /* === S T A R T =========================================================== */
24 #ifndef __SINFG_NODEBASE_H
25 #define __SINFG_NODEBASE_H
27 /* === H E A D E R S ======================================================= */
29 #include "../protocol.h"
30 #include "../string.h"
32 #include <sigc++/slot.h>
34 /* === M A C R O S ========================================================= */
36 /* === T Y P E D E F S ===================================================== */
38 /* === C L A S S E S & S T R U C T S ======================================= */
46 class NodeBase : public Protocol
50 PX_DEFINE_DATA(guid, GUID)
52 PX_DEFINE_FUNC(func_test, float, int, int)
54 PX_DEFINE_DATA(id, String)
56 PX_DEFINE_DATA(root, NodeHandle)
58 PX_DEFINE_FUNC(signal_changed, sigc::signal<void>)
59 PX_DEFINE_FUNC(signal_deleted, sigc::signal<void>)
61 PX_DEFINE_FUNC_CONST(get_parents, const NodeList)
62 PX_DEFINE_FUNC_CONST(get_children, const NodeList)
64 PX_DEFINE_FUNC(query_children, NodeList, Query)
66 }; // END of class Proto::NodeBase
68 }; // END of namespace Proto
69 }; // END of namespace sinfg
71 /* === E N D =============================================================== */