-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEnvirons.Cli.Base.cpp
96 lines (75 loc) · 2.16 KB
/
Environs.Cli.Base.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
/**
* Environs CLI implementation base
* ------------------------------------------------------------------
* 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"
#ifdef CLI_CPP
#include "Environs.Cli.Forwards.h"
#include "Environs.Types.h.cli.h"
#include "Environs.Observer.CLI.h"
#include "Environs.Cli.Base.h"
#include "Environs.Native.h"
#include "Environs.Lib.h"
#include <stdio.h>
#include <stdarg.h>
#if !defined(WINDOWS_PHONE) && !defined(_WIN32)
# include <stdlib.h>
#endif
#using <system.dll>
#using <mscorlib.dll>
#using <System.Windows.Forms.dll>
using namespace System;
using namespace System::IO;
using namespace System::Diagnostics;
using namespace System::Windows::Forms;
using namespace System::Runtime::InteropServices;
#define CLASS_NAME "Environs.Cli . . . . . ."
namespace environs
{
namespace lib
{
}
namespace API
{
/**
* Register to sensor events and listen to sensor data events.
* This implementation is platform specific and needs to be implemented
* in the particular platform layer.
*
* @param sensorType A value of type SensorType.
*
*/
void StartSensorListening ( int hInst, SensorType sensorType )
{
// Needs to be implemented for Winodws
}
/**
* Deregister to sensor events and stop listen to sensor data events.
* This implementation is platform specific and needs to be implemented
* in the particular platform layer.
*
* @param sensorType A value of type SensorType.
*
*/
void StopSensorListening ( int hInst, SensorType sensorType )
{
// Needs to be implemented for Winodws
}
}
}
#endif