source: trunk/test/sandbox/sample.cpp @ 1112

Last change on this file since 1112 was 1112, checked in by gary, 9 years ago

build: minor reorganisation of the sandbox code.

  • Property svn:keywords set to Id
File size: 731 bytes
Line 
1//
2// Lol Engine - Sandbox program
3//
4// Copyright: (c) 2005-2011 Sam Hocevar <sam@hocevar.net>
5//   This program is free software; you can redistribute it and/or
6//   modify it under the terms of the Do What The Fuck You Want To
7//   Public License, Version 2, as published by Sam Hocevar. See
8//   http://sam.zoy.org/projects/COPYING.WTFPL for more details.
9//
10
11#if defined HAVE_CONFIG_H
12#   include "config.h"
13#endif
14
15#if USE_SDL && defined __APPLE__
16#   include <SDL_main.h>
17#endif
18
19#include "core.h"
20
21class Moo
22{
23    Moo() {}
24
25    virtual int SetState(int state) { return state; }
26};
27
28using namespace std;
29using namespace lol;
30
31int main(int argc, char **argv)
32{
33    /* Insert any test code here */
34    return EXIT_SUCCESS;
35}
36
Note: See TracBrowser for help on using the repository browser.