-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEnvirons.Win.Phone.cpp
108 lines (78 loc) · 2.22 KB
/
Environs.Win.Phone.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
/**
* Android JNI platform specific
* ------------------------------------------------------------------
* Copyright (c) Chi-Tai Dang
*
* @author Chi-Tai Dang
* @version 1.0
* @remarks
*
* This file is part of the Environs framework developed at the
* Lab for Human Centered Multimedia of the University of Augsburg.
* http://hcm-lab.de/environs
*
* Environ is free software; you can redistribute it and/or modify
* it under the terms of the Eclipse Public License v1.0.
* A copy of the license may be obtained at:
* http://www.eclipse.org/org/documents/epl-v10.html
* --------------------------------------------------------------------
*/
#include "stdafx.h"
/// Compiler flag that enables verbose debug output
#ifndef NDEBUG
//# define DEBUGVERB
//# define DEBUGVERBVerb
#endif
#include "Environs.Obj.h"
#ifdef WINDOWS_PHONE
namespace environs
{
bool AllocNativePlatform () {
return true;
}
/**
* Creates an application identifier by means of a UUID
*
* @param buffer The UUID will be stored in this buffer.
* @param bufSize The size of the buffer. Must be at least 180 bytes.
* @return success
*/
bool CreateAppID ( char * buffer, unsigned int bufSize )
{
return false;
}
/**
* Perform SDK checks to detect ...
*
*/
void DetectSDKs ( )
{
}
/**
* Perform platform checks to detect ...
*
*/
void DetectPlatform ( )
{
}
/**
* This is done by the android platform layer ...
*
*/
bool DetermineAndInitWorkDir ()
{
return true;
}
bool CreateInstancePlatform ( Instance * env )
{
//SetCallbacksN ( env->hEnvirons, 0, ( void * ) BridgeForUdpData, (void *)BridgeForMessage, (void *)BridgeForMessageExt, (void *)BridgeForNotify, (void *)BridgeForNotifyExt, (void *)BridgeForData, (void *)BridgeForStatusMessage );
return true;
}
namespace API
{
void Environs_LoginDialog ( int hInst, const char * userName )
{
}
} /* namespace API */
} /* namespace environs */
#endif