git » fp-git.git » commit 9cdf9db

Forgot these

author unlord
2004-07-07 14:35:48 UTC
committer unlord
2004-07-07 14:35:48 UTC
parent 077ec297bbbf3c0af24abb7d1c8f6633c4339d6a

Forgot these

stuff/ideas/FPResourceManager.c +8 -0
stuff/ideas/FPResourceManager.h +14 -0

diff --git a/stuff/ideas/FPResourceManager.c b/stuff/ideas/FPResourceManager.c
new file mode 100644
index 0000000..6600d6e
--- /dev/null
+++ b/stuff/ideas/FPResourceManager.c
@@ -0,0 +1,8 @@
+#include "FPResourceManager.h"
+
+FPResourceManager this;
+
+int mgrInit(FPConfig *_config) {
+  this.config=_config;
+  return(1);
+}
diff --git a/stuff/ideas/FPResourceManager.h b/stuff/ideas/FPResourceManager.h
new file mode 100644
index 0000000..5ba8e9d
--- /dev/null
+++ b/stuff/ideas/FPResourceManager.h
@@ -0,0 +1,14 @@
+#ifndef _FP_RESOURCE_MANAGER_H
+#define _FP_RESOURCE_MANAGER_H
+
+#include "FPConfig.h"
+
+typedef struct FPResourceManager FPResourceManager;
+
+struct FPResourceManager {
+  FPConfig *config;
+};
+
+int mgrInit(FPConfig *_config);
+
+#endif