PICSimLab - Programmable IC Simulator Laboratory 0.9.3
PICSimLab - API
Loading...
Searching...
No Matches
picsimlab6.h
1/* ########################################################################
2
3 PICSimLab - Programmable IC Simulator Laboratory
4
5 ########################################################################
6
7 Copyright (c) : 2010-2026 Luis Claudio GambĂ´a Lopes <lcgamboa@yahoo.com>
8
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2, or (at your option)
12 any later version.
13
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22
23 For e-mail suggestions : lcgamboa@yahoo.com
24 ######################################################################## */
25
26#ifndef CPWINDOW6
27#define CPWINDOW6
28
29#include <lxrad.h>
30
31class CPWindow6 : public CPWindow {
32public:
33 // lxrad automatic generated block start, don't edit below!
34 /*#Controls*/
35 CLabel label1;
36 CLabel label2;
37 CCombo combo1;
38 CLabel label3;
39 CLabel label4;
40 CCombo combo2;
41 CLabel label5;
42 CCombo combo3;
43 CButton button1;
44 CButton button2;
45 CButton button3;
46 CLabel label6;
47 CEdit edit1;
48 CDirDialog dirdialog1;
49 CFileDialog filedialog1;
50 CButton button4;
51 CButton button5;
52 /*#Events*/
53 void _EvOnCreate(CControl* control);
54 void _EvOnShow(CControl* control);
55 void button1_EvMouseButtonClick(CControl* control, const uint button, const uint x, const uint y, const uint state);
56 void button2_EvMouseButtonClick(CControl* control, const uint button, const uint x, const uint y, const uint state);
57 void button3_EvMouseButtonClick(CControl* control, const uint button, const uint x, const uint y, const uint state);
58 void combo1_EvOnComboChange(CControl* control);
59 void combo2_EvOnComboChange(CControl* control);
60 void combo3_EvOnComboChange(CControl* control);
61 void dirdialog1_EvOnClose(const int retId);
62 void filedialog1_EvOnClose(const int retId);
63 void button4_EvMouseButtonClick(CControl* control, const uint button, const uint x, const uint y, const uint state);
64 void button5_EvMouseButtonClick(CControl* control, const uint button, const uint x, const uint y, const uint state);
65
66 /*#Others*/
67 CPWindow6(void);
68 // lxrad automatic generated block end, don't edit above!
69
70 const char* GetFrameworkList(const std::string ide);
71 const char* GetExampleList(const std::string ide, const std::string framework);
72 int OpenProject(lxString path, lxString type);
73 int OpenProjectDir(lxString path);
74 int CreateProject(const std::string ide, const std::string framework, const std::string ctemplate,
75 const lxString prjdir, const int operation);
76
77private:
78 std::string board;
79 std::string processor;
80 std::string ide;
81 std::string framework;
82 std::string ctemplate;
83 int operation;
84};
85
86extern CPWindow6 Window6;
87
88#endif /*#CPWINDOW6*/
Definition picsimlab6.h:31