Robin Thoni 11 gadus atpakaļ
vecāks
revīzija
1670615869

+ 4
- 11
libptsocket.pro Parādīt failu

@@ -1,12 +1,5 @@
1
-######################################################################
2
-# Automatically generated by qmake (2.01a) jeu. déc. 12 01:38:12 2013
3
-######################################################################
1
+TEMPLATE = subdirs
4 2
 
5
-TEMPLATE = app
6
-TARGET = 
7
-DEPENDPATH += .
8
-INCLUDEPATH += .
9
-
10
-# Input
11
-HEADERS += ptserver.h ptsocket.h
12
-SOURCES += ptserver.cpp ptsocket.cpp
3
+SUBDIRS += \
4
+    libptsocket \
5
+    tests

+ 245
- 0
libptsocket.pro.user Parādīt failu

@@ -0,0 +1,245 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<!DOCTYPE QtCreatorProject>
3
+<!-- Written by QtCreator 2.8.0, 2013-12-12T18:13:07. -->
4
+<qtcreator>
5
+ <data>
6
+  <variable>ProjectExplorer.Project.ActiveTarget</variable>
7
+  <value type="int">0</value>
8
+ </data>
9
+ <data>
10
+  <variable>ProjectExplorer.Project.EditorSettings</variable>
11
+  <valuemap type="QVariantMap">
12
+   <value type="bool" key="EditorConfiguration.AutoIndent">true</value>
13
+   <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value>
14
+   <value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value>
15
+   <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0">
16
+    <value type="QString" key="language">Cpp</value>
17
+    <valuemap type="QVariantMap" key="value">
18
+     <value type="QString" key="CurrentPreferences">CppGlobal</value>
19
+    </valuemap>
20
+   </valuemap>
21
+   <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1">
22
+    <value type="QString" key="language">QmlJS</value>
23
+    <valuemap type="QVariantMap" key="value">
24
+     <value type="QString" key="CurrentPreferences">QmlJSGlobal</value>
25
+    </valuemap>
26
+   </valuemap>
27
+   <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value>
28
+   <value type="QByteArray" key="EditorConfiguration.Codec">UTF-8</value>
29
+   <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
30
+   <value type="int" key="EditorConfiguration.IndentSize">4</value>
31
+   <value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value>
32
+   <value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
33
+   <value type="int" key="EditorConfiguration.PaddingMode">1</value>
34
+   <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
35
+   <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
36
+   <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value>
37
+   <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
38
+   <value type="int" key="EditorConfiguration.TabSize">8</value>
39
+   <value type="bool" key="EditorConfiguration.UseGlobal">true</value>
40
+   <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value>
41
+   <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value>
42
+   <value type="bool" key="EditorConfiguration.cleanIndentation">true</value>
43
+   <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value>
44
+   <value type="bool" key="EditorConfiguration.inEntireDocument">false</value>
45
+  </valuemap>
46
+ </data>
47
+ <data>
48
+  <variable>ProjectExplorer.Project.PluginSettings</variable>
49
+  <valuemap type="QVariantMap"/>
50
+ </data>
51
+ <data>
52
+  <variable>ProjectExplorer.Project.Target.0</variable>
53
+  <valuemap type="QVariantMap">
54
+   <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop</value>
55
+   <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop</value>
56
+   <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">{996ad625-e724-4eb7-9ef9-5382382aeea5}</value>
57
+   <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value>
58
+   <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
59
+   <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
60
+   <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
61
+    <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
62
+     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
63
+      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
64
+      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
65
+      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
66
+      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
67
+      <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
68
+      <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
69
+      <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
70
+      <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
71
+     </valuemap>
72
+     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
73
+      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
74
+      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
75
+      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
76
+      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
77
+      <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
78
+      <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
79
+      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
80
+      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
81
+     </valuemap>
82
+     <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
83
+     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Compiler</value>
84
+     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
85
+     <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
86
+    </valuemap>
87
+    <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
88
+     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
89
+      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
90
+      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
91
+      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
92
+      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
93
+      <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
94
+      <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
95
+      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
96
+      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
97
+     </valuemap>
98
+     <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
99
+     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Nettoyer</value>
100
+     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
101
+     <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
102
+    </valuemap>
103
+    <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
104
+    <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
105
+    <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
106
+    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Debug</value>
107
+    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
108
+    <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
109
+    <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
110
+    <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">D:/prog/C++/bin/libptsocket</value>
111
+    <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
112
+   </valuemap>
113
+   <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1">
114
+    <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
115
+     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
116
+      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
117
+      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
118
+      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
119
+      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
120
+      <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
121
+      <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
122
+      <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
123
+      <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
124
+     </valuemap>
125
+     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
126
+      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
127
+      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
128
+      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
129
+      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
130
+      <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
131
+      <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
132
+      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
133
+      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
134
+     </valuemap>
135
+     <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
136
+     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Compiler</value>
137
+     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
138
+     <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
139
+    </valuemap>
140
+    <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
141
+     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
142
+      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
143
+      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
144
+      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
145
+      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
146
+      <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
147
+      <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
148
+      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
149
+      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
150
+     </valuemap>
151
+     <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
152
+     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Nettoyer</value>
153
+     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
154
+     <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
155
+    </valuemap>
156
+    <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
157
+    <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
158
+    <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
159
+    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Release</value>
160
+    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
161
+    <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
162
+    <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
163
+    <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">D:/prog/C++/bin/libptsocket</value>
164
+    <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
165
+   </valuemap>
166
+   <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">2</value>
167
+   <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
168
+    <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
169
+     <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
170
+     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Déploiement</value>
171
+     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
172
+     <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
173
+    </valuemap>
174
+    <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
175
+    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Déployer localement</value>
176
+    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
177
+    <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
178
+   </valuemap>
179
+   <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
180
+   <valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/>
181
+   <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
182
+    <value type="bool" key="Analyzer.Project.UseGlobal">true</value>
183
+    <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
184
+    <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
185
+    <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
186
+    <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
187
+    <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
188
+    <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
189
+    <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
190
+    <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
191
+    <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
192
+    <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
193
+    <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
194
+    <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
195
+    <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
196
+    <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
197
+     <value type="int">0</value>
198
+     <value type="int">1</value>
199
+     <value type="int">2</value>
200
+     <value type="int">3</value>
201
+     <value type="int">4</value>
202
+     <value type="int">5</value>
203
+     <value type="int">6</value>
204
+     <value type="int">7</value>
205
+     <value type="int">8</value>
206
+     <value type="int">9</value>
207
+     <value type="int">10</value>
208
+     <value type="int">11</value>
209
+     <value type="int">12</value>
210
+     <value type="int">13</value>
211
+     <value type="int">14</value>
212
+    </valuelist>
213
+    <value type="int" key="PE.EnvironmentAspect.Base">2</value>
214
+    <valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
215
+    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">tests</value>
216
+    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
217
+    <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:D:/prog/C++/libptsocket/tests/tests.pro</value>
218
+    <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value>
219
+    <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">tests/tests.pro</value>
220
+    <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value>
221
+    <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">true</value>
222
+    <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value>
223
+    <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
224
+    <value type="bool" key="RunConfiguration.UseCppDebugger">true</value>
225
+    <value type="bool" key="RunConfiguration.UseCppDebuggerAuto">false</value>
226
+    <value type="bool" key="RunConfiguration.UseMultiProcess">false</value>
227
+    <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
228
+    <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
229
+   </valuemap>
230
+   <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
231
+  </valuemap>
232
+ </data>
233
+ <data>
234
+  <variable>ProjectExplorer.Project.TargetCount</variable>
235
+  <value type="int">1</value>
236
+ </data>
237
+ <data>
238
+  <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable>
239
+  <value type="QByteArray">{3074012e-28a1-4b99-a490-1fcbe7cc342f}</value>
240
+ </data>
241
+ <data>
242
+  <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
243
+  <value type="int">14</value>
244
+ </data>
245
+</qtcreator>

+ 30
- 0
libptsocket/libptsocket.pro Parādīt failu

@@ -0,0 +1,30 @@
1
+#-------------------------------------------------
2
+#
3
+# Project created by QtCreator 2013-12-12T17:58:01
4
+#
5
+#-------------------------------------------------
6
+
7
+QT       += network
8
+
9
+QT       -= gui
10
+
11
+TARGET = libptsocket
12
+TEMPLATE = lib
13
+
14
+DEFINES += LIBPTSOCKET_LIBRARY
15
+
16
+SOURCES += ptsocket.cpp \
17
+    ptserver.cpp
18
+
19
+HEADERS += ptsocket.h\
20
+        libptsocket_global.h \
21
+    ptserver.h
22
+
23
+unix:!symbian {
24
+    maemo5 {
25
+        target.path = /opt/usr/lib
26
+    } else {
27
+        target.path = /usr/lib
28
+    }
29
+    INSTALLS += target
30
+}

+ 12
- 0
libptsocket/libptsocket_global.h Parādīt failu

@@ -0,0 +1,12 @@
1
+#ifndef LIBPTSOCKET_GLOBAL_H
2
+#define LIBPTSOCKET_GLOBAL_H
3
+
4
+#include <QtCore/qglobal.h>
5
+
6
+#if defined(LIBPTSOCKET_LIBRARY)
7
+#  define LIBPTSOCKETSHARED_EXPORT Q_DECL_EXPORT
8
+#else
9
+#  define LIBPTSOCKETSHARED_EXPORT Q_DECL_IMPORT
10
+#endif
11
+
12
+#endif // LIBPTSOCKET_GLOBAL_H

+ 6
- 0
libptsocket/ptserver.cpp Parādīt failu

@@ -0,0 +1,6 @@
1
+#include "ptserver.h"
2
+
3
+PTServer::PTServer(QObject *parent) :
4
+	QObject(parent)
5
+{
6
+}

+ 19
- 0
libptsocket/ptserver.h Parādīt failu

@@ -0,0 +1,19 @@
1
+#ifndef PTSERVER_H
2
+#define PTSERVER_H
3
+
4
+#include "libptsocket_global.h"
5
+#include <QObject>
6
+
7
+class LIBPTSOCKETSHARED_EXPORT PTServer : public QObject
8
+{
9
+	Q_OBJECT
10
+public:
11
+	explicit PTServer(QObject *parent = 0);
12
+	
13
+signals:
14
+	
15
+public slots:
16
+	
17
+};
18
+
19
+#endif // PTSERVER_H

+ 6
- 0
libptsocket/ptsocket.cpp Parādīt failu

@@ -0,0 +1,6 @@
1
+#include "ptsocket.h"
2
+
3
+
4
+PTSocket::PTSocket()
5
+{
6
+}

+ 14
- 0
libptsocket/ptsocket.h Parādīt failu

@@ -0,0 +1,14 @@
1
+#ifndef PTSOCKET_H
2
+#define PTSOCKET_H
3
+
4
+#include "libptsocket_global.h"
5
+#include <QObject>
6
+
7
+class LIBPTSOCKETSHARED_EXPORT PTSocket : public QObject
8
+{
9
+	Q_OBJECT
10
+public:
11
+	PTSocket();
12
+};
13
+
14
+#endif // PTSOCKET_H

+ 0
- 0
ptserver.cpp Parādīt failu


+ 0
- 0
ptserver.h Parādīt failu


+ 0
- 0
ptsocket.cpp Parādīt failu


+ 0
- 0
ptsocket.h Parādīt failu


+ 8
- 0
tests/main.cpp Parādīt failu

@@ -0,0 +1,8 @@
1
+#include <QCoreApplication>
2
+
3
+int main(int argc, char *argv[])
4
+{
5
+	QCoreApplication a(argc, argv);
6
+	
7
+	return a.exec();
8
+}

+ 18
- 0
tests/tests.pro Parādīt failu

@@ -0,0 +1,18 @@
1
+#-------------------------------------------------
2
+#
3
+# Project created by QtCreator 2013-12-12T18:00:31
4
+#
5
+#-------------------------------------------------
6
+
7
+QT       += core
8
+
9
+QT       -= gui
10
+
11
+TARGET = tests
12
+CONFIG   += console
13
+CONFIG   -= app_bundle
14
+
15
+TEMPLATE = app
16
+
17
+
18
+SOURCES += main.cpp

Notiek ielāde…
Atcelt
Saglabāt