working on the server's skeleton, still slow going

This commit is contained in:
Kayne Ruse
2013-06-10 17:23:26 +10:00
parent 0a48131de4
commit c21a95f3e9
7 changed files with 155 additions and 19 deletions
+7 -1
View File
@@ -1,13 +1,19 @@
//#include "packet_type.hpp"
#include "packet_type.hpp"
#include "service_locator.hpp"
#include "foobar.hpp"
#include "vector2.hpp"
#include <iostream>
using namespace std;
int main() {
ServiceLocator<int>::Set(new int(42));
ServiceLocator<Packet>::Set(new Packet());
cout << FooBar() << endl;
ServiceLocator<int>::Set(nullptr);
ServiceLocator<Packet>::Set(nullptr);
return 0;
}