bleh
[synfig.git] / synfig-core / trunk / src / sinfg / proto / nodebase.px
index 77559c8..19b4ea2 100644 (file)
 
 /* === M A C R O S ========================================================= */
 
-/*
-
-#define DEFINE_SIMPLE_FUNC(func_name, ret_type) \
-       private: sigc::slot<ret_type> slot_##func_name; \
-       public: ret_type func_name() { return slot_##func_name(); }
-
-#define DEFINE_SIMPLE_FUNC_CONST(func_name, ret_type) \
-       private: sigc::slot<ret_type> slotconst_##func_name; \
-       public: ret_type func_name()const { return slotconst_##func_name(); }
-
-#define DECLARE_FUNC(func_name, ret_type, ...) \
-       private: sigc::slot<ret_type, __VA_ARGS__> slot_##func_name; 
-//     public: ret_type func_name(__VA_ARGS__)
-
-#define DECLARE_FUNC_CONST(func_name, ret_type, ...) \
-       private: sigc::slot<ret_type, __VA_ARGS__> slotconst_##func_name; 
-
-//     public: ret_type func_name(__VA_ARGS__)const
-               
-#define DEFINE_FUNC(func_name, ret_type, arg_list, ...) \
-       public: ret_type func_name(__VA_ARGS__) { return slot_##func_name arg_list; }
-
-#define DEFINE_FUNC_CONST(func_name, ret_type, arg_list, ...) \
-       public: ret_type func_name(__VA_ARGS__)const { return slotconst_##func_name arg_list; }
-
-#define DEFINE_DATA(data_name, data_type) \
-       DEFINE_SIMPLE_FUNC_CONST(get_ ## data_name, data_type); \
-       DECLARE_FUNC(set_ ## data_name, void, data_type); \
-       DEFINE_FUNC(set_ ## data_name, void, (x), data_type x)
-*/
-
 /* === T Y P E D E F S ===================================================== */
 
 /* === C L A S S E S & S T R U C T S ======================================= */
@@ -71,6 +40,9 @@
 namespace sinfg {
 namespace Proto {
 
+typedef int Query;
+typedef int NodeList;
+
 class NodeBase : public Protocol
 {
 public: