Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed TestDoubleSdlLayerInstanceDelegator.{h,cpp}

Signed-off-by: Stefan Näwe <stefan.naewe+github@googlemail.com>
  • Loading branch information...
commit 02a9ae756e206a5c1d301cda13ea0b814312752f 1 parent c1cb0cc
Stefan Näwe authored
View
31 TestDoubleSdlLayerInstanceDelegator.cpp
@@ -1,12 +1,19 @@
-#include "SdlLayerInstanceDelegator.h"
-
-class TestDoubleSdlLayerInstanceDelegator: public SdlLayerInstanceDelegator {
-public:
- TestDoubleSdlLayerInstanceDelegator();
- virtual ~TestDoubleSdlLayerInstanceDelegator();
-
- const SDL_version *SDL_Linked_Version();
- int SDL_Init(int bitMask);
- void *SDL_SetVideoMode(int x, int y, int bitDepth, int mode);
- void SDL_WM_SetCaption(const char *title, int someIntValue);
-};
+#include "TestDoubleSdlLayerInstanceDelegator.h"
+
+TestDoubleSdlLayerInstanceDelegator::TestDoubleSdlLayerInstanceDelegator(){}
+
+TestDoubleSdlLayerInstanceDelegator::~TestDoubleSdlLayerInstanceDelegator(){}
+
+const SDL_version *TestDoubleSdlLayerInstanceDelegator::SDL_Linked_Version() {
+ return 0;
+}
+
+int TestDoubleSdlLayerInstanceDelegator::SDL_Init(int bitMask) {
+ return 0;
+}
+
+void *TestDoubleSdlLayerInstanceDelegator::SDL_SetVideoMode(int x, int y, int bitDepth, int mode) {
+ return 0;
+}
+
+void TestDoubleSdlLayerInstanceDelegator::SDL_WM_SetCaption(const char *title, int someIntValue){}
View
12 TestDoubleSdlLayerInstanceDelegator.h
@@ -0,0 +1,12 @@
+#include "SdlLayerInstanceDelegator.h"
+
+class TestDoubleSdlLayerInstanceDelegator: public SdlLayerInstanceDelegator {
+public:
+ TestDoubleSdlLayerInstanceDelegator();
+ virtual ~TestDoubleSdlLayerInstanceDelegator();
+
+ const SDL_version *SDL_Linked_Version();
+ int SDL_Init(int bitMask);
+ void *SDL_SetVideoMode(int x, int y, int bitDepth, int mode);
+ void SDL_WM_SetCaption(const char *title, int someIntValue);
+};
Please sign in to comment.
Something went wrong with that request. Please try again.