diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-10-30 17:22:02 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-10-30 17:22:34 +0100 |
commit | 2af0ddbcf5cf32e4f6e8e1e3993a1aca0c409c90 (patch) | |
tree | b32c4bfbfdeafcdcad72e383edbb04b8f8ada797 /opentrack-api/opentrack-api.cpp | |
parent | ea2660dd167a853e704f167410037da162eccc6f (diff) |
add initial, untested opentrack-api.dll
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
Diffstat (limited to 'opentrack-api/opentrack-api.cpp')
-rw-r--r-- | opentrack-api/opentrack-api.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/opentrack-api/opentrack-api.cpp b/opentrack-api/opentrack-api.cpp new file mode 100644 index 00000000..acb6d823 --- /dev/null +++ b/opentrack-api/opentrack-api.cpp @@ -0,0 +1,13 @@ +#include "opentrack-guts.h" +#include "opentrack.h" + +opentrack opentrack_make_ctx(const char *dir) +{ + QDir d(dir); + return new opentrack_ctx(d); +} + +void opentrack_finalize_ctx(opentrack bye_bye) +{ + delete bye_bye; +} |