comparison Resources/CommandTool/flatc-tests/basic/main.cpp @ 445:ee41b6a017d7 bgo-commands-codegen

dumb change
author bgo-osimis
date Wed, 16 Jan 2019 16:24:45 +0100
parents
children
comparison
equal deleted inserted replaced
440:a750f11892ec 445:ee41b6a017d7
1 #include <iostream>
2 #include "basic_generated.h"
3
4 using namespace Orthanc::Stone::Samples::SimpleViewer;
5
6 namespace OrthancStone
7 {
8 class IPocMessage
9 {
10 public:
11 virtual std::string GetType() = 0;
12 };
13
14
15 }
16
17
18
19 int main()
20 {
21 Request;
22
23 Request::messageType = SelectTool;
24
25 SelectToolT tool2;
26 tool2.tool = Tool_CircleMeasure;
27
28 SendToApplication(tool2);
29
30
31 tool2.tool = Tool_CircleMeasure;
32
33 CircleToolT circleTool;
34 circleTool.centerX = 3;
35 circleTool.centerY = 4;
36
37 std::cout << "Hello from flatc generator sample!" << std::endl;
38 }