aboutsummaryrefslogtreecommitdiffstats
path: root/meowpp/oo/ObjPort.h
diff options
context:
space:
mode:
Diffstat (limited to 'meowpp/oo/ObjPort.h')
-rw-r--r--meowpp/oo/ObjPort.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/meowpp/oo/ObjPort.h b/meowpp/oo/ObjPort.h
new file mode 100644
index 0000000..b9baf0c
--- /dev/null
+++ b/meowpp/oo/ObjPort.h
@@ -0,0 +1,18 @@
+#ifndef oo_ObjPort_H__
+#define oo_ObjPort_H__
+
+#include "ObjBase.h"
+
+#include <cstdio>
+
+namespace meow{
+ template<size_t sid>
+ class ObjPort{
+ public:
+ static ObjBase* read (FILE* __f, bool __binary);
+ static bool write(FILE* __f, bool __binary,
+ ObjBase* __obj, unsigned int __fg);
+ };
+}
+
+#endif // oo_ObjPort_H__