Browse Source

1.0

master
Robin Thoni 11 years ago
parent
commit
c82dca9536

+ 155
- 0
Makefile View File

@@ -0,0 +1,155 @@
1
+#############################################################################
2
+# Makefile for building: libptsocket
3
+# Generated by qmake (2.01a) (Qt 4.8.2) on: mar. déc. 31 15:44:02 2013
4
+# Project:  libptsocket.pro
5
+# Template: subdirs
6
+# Command: /usr/bin/qmake -o Makefile libptsocket.pro
7
+#############################################################################
8
+
9
+first: make_default
10
+MAKEFILE      = Makefile
11
+QMAKE         = /usr/bin/qmake
12
+DEL_FILE      = rm -f
13
+CHK_DIR_EXISTS= test -d
14
+MKDIR         = mkdir -p
15
+COPY          = cp -f
16
+COPY_FILE     = $(COPY)
17
+COPY_DIR      = $(COPY) -r
18
+INSTALL_FILE  = install -m 644 -p
19
+INSTALL_PROGRAM = install -m 755 -p
20
+INSTALL_DIR   = $(COPY_DIR)
21
+DEL_FILE      = rm -f
22
+SYMLINK       = ln -f -s
23
+DEL_DIR       = rmdir
24
+MOVE          = mv -f
25
+CHK_DIR_EXISTS= test -d
26
+MKDIR         = mkdir -p
27
+SUBTARGETS    =  \
28
+		sub-ptsocket \
29
+		sub-tests
30
+
31
+ptsocket//$(MAKEFILE): 
32
+	@$(CHK_DIR_EXISTS) ptsocket/ || $(MKDIR) ptsocket/ 
33
+	cd ptsocket/ && $(QMAKE) /pxeroot/root/share/libptsocket/ptsocket/ptsocket.pro -o $(MAKEFILE)
34
+sub-ptsocket-qmake_all:  FORCE
35
+	@$(CHK_DIR_EXISTS) ptsocket/ || $(MKDIR) ptsocket/ 
36
+	cd ptsocket/ && $(QMAKE) /pxeroot/root/share/libptsocket/ptsocket/ptsocket.pro -o $(MAKEFILE)
37
+sub-ptsocket: ptsocket//$(MAKEFILE) FORCE
38
+	cd ptsocket/ && $(MAKE) -f $(MAKEFILE)
39
+sub-ptsocket-make_default: ptsocket//$(MAKEFILE) FORCE
40
+	cd ptsocket/ && $(MAKE) -f $(MAKEFILE) 
41
+sub-ptsocket-make_first: ptsocket//$(MAKEFILE) FORCE
42
+	cd ptsocket/ && $(MAKE) -f $(MAKEFILE) first
43
+sub-ptsocket-all: ptsocket//$(MAKEFILE) FORCE
44
+	cd ptsocket/ && $(MAKE) -f $(MAKEFILE) all
45
+sub-ptsocket-clean: ptsocket//$(MAKEFILE) FORCE
46
+	cd ptsocket/ && $(MAKE) -f $(MAKEFILE) clean
47
+sub-ptsocket-distclean: ptsocket//$(MAKEFILE) FORCE
48
+	cd ptsocket/ && $(MAKE) -f $(MAKEFILE) distclean
49
+sub-ptsocket-install_subtargets: ptsocket//$(MAKEFILE) FORCE
50
+	cd ptsocket/ && $(MAKE) -f $(MAKEFILE) install
51
+sub-ptsocket-uninstall_subtargets: ptsocket//$(MAKEFILE) FORCE
52
+	cd ptsocket/ && $(MAKE) -f $(MAKEFILE) uninstall
53
+tests//$(MAKEFILE): 
54
+	@$(CHK_DIR_EXISTS) tests/ || $(MKDIR) tests/ 
55
+	cd tests/ && $(QMAKE) /pxeroot/root/share/libptsocket/tests/tests.pro -o $(MAKEFILE)
56
+sub-tests-qmake_all:  FORCE
57
+	@$(CHK_DIR_EXISTS) tests/ || $(MKDIR) tests/ 
58
+	cd tests/ && $(QMAKE) /pxeroot/root/share/libptsocket/tests/tests.pro -o $(MAKEFILE)
59
+sub-tests: tests//$(MAKEFILE) FORCE
60
+	cd tests/ && $(MAKE) -f $(MAKEFILE)
61
+sub-tests-make_default: tests//$(MAKEFILE) FORCE
62
+	cd tests/ && $(MAKE) -f $(MAKEFILE) 
63
+sub-tests-make_first: tests//$(MAKEFILE) FORCE
64
+	cd tests/ && $(MAKE) -f $(MAKEFILE) first
65
+sub-tests-all: tests//$(MAKEFILE) FORCE
66
+	cd tests/ && $(MAKE) -f $(MAKEFILE) all
67
+sub-tests-clean: tests//$(MAKEFILE) FORCE
68
+	cd tests/ && $(MAKE) -f $(MAKEFILE) clean
69
+sub-tests-distclean: tests//$(MAKEFILE) FORCE
70
+	cd tests/ && $(MAKE) -f $(MAKEFILE) distclean
71
+sub-tests-install_subtargets: tests//$(MAKEFILE) FORCE
72
+	cd tests/ && $(MAKE) -f $(MAKEFILE) install
73
+sub-tests-uninstall_subtargets: tests//$(MAKEFILE) FORCE
74
+	cd tests/ && $(MAKE) -f $(MAKEFILE) uninstall
75
+
76
+Makefile: libptsocket.pro  /usr/share/qt4/mkspecs/linux-g++-64/qmake.conf /usr/share/qt4/mkspecs/common/unix.conf \
77
+		/usr/share/qt4/mkspecs/common/linux.conf \
78
+		/usr/share/qt4/mkspecs/common/gcc-base.conf \
79
+		/usr/share/qt4/mkspecs/common/gcc-base-unix.conf \
80
+		/usr/share/qt4/mkspecs/common/g++-base.conf \
81
+		/usr/share/qt4/mkspecs/common/g++-unix.conf \
82
+		/usr/share/qt4/mkspecs/qconfig.pri \
83
+		/usr/share/qt4/mkspecs/modules/qt_phonon.pri \
84
+		/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
85
+		/usr/share/qt4/mkspecs/features/qt_functions.prf \
86
+		/usr/share/qt4/mkspecs/features/qt_config.prf \
87
+		/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
88
+		/usr/share/qt4/mkspecs/features/default_pre.prf \
89
+		/usr/share/qt4/mkspecs/features/release.prf \
90
+		/usr/share/qt4/mkspecs/features/default_post.prf \
91
+		/usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
92
+		/usr/share/qt4/mkspecs/features/warn_on.prf \
93
+		/usr/share/qt4/mkspecs/features/qt.prf \
94
+		/usr/share/qt4/mkspecs/features/unix/thread.prf \
95
+		/usr/share/qt4/mkspecs/features/moc.prf \
96
+		/usr/share/qt4/mkspecs/features/resources.prf \
97
+		/usr/share/qt4/mkspecs/features/uic.prf \
98
+		/usr/share/qt4/mkspecs/features/yacc.prf \
99
+		/usr/share/qt4/mkspecs/features/lex.prf \
100
+		/usr/share/qt4/mkspecs/features/include_source_dir.prf
101
+	$(QMAKE) -o Makefile libptsocket.pro
102
+/usr/share/qt4/mkspecs/common/unix.conf:
103
+/usr/share/qt4/mkspecs/common/linux.conf:
104
+/usr/share/qt4/mkspecs/common/gcc-base.conf:
105
+/usr/share/qt4/mkspecs/common/gcc-base-unix.conf:
106
+/usr/share/qt4/mkspecs/common/g++-base.conf:
107
+/usr/share/qt4/mkspecs/common/g++-unix.conf:
108
+/usr/share/qt4/mkspecs/qconfig.pri:
109
+/usr/share/qt4/mkspecs/modules/qt_phonon.pri:
110
+/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri:
111
+/usr/share/qt4/mkspecs/features/qt_functions.prf:
112
+/usr/share/qt4/mkspecs/features/qt_config.prf:
113
+/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
114
+/usr/share/qt4/mkspecs/features/default_pre.prf:
115
+/usr/share/qt4/mkspecs/features/release.prf:
116
+/usr/share/qt4/mkspecs/features/default_post.prf:
117
+/usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf:
118
+/usr/share/qt4/mkspecs/features/warn_on.prf:
119
+/usr/share/qt4/mkspecs/features/qt.prf:
120
+/usr/share/qt4/mkspecs/features/unix/thread.prf:
121
+/usr/share/qt4/mkspecs/features/moc.prf:
122
+/usr/share/qt4/mkspecs/features/resources.prf:
123
+/usr/share/qt4/mkspecs/features/uic.prf:
124
+/usr/share/qt4/mkspecs/features/yacc.prf:
125
+/usr/share/qt4/mkspecs/features/lex.prf:
126
+/usr/share/qt4/mkspecs/features/include_source_dir.prf:
127
+qmake: qmake_all FORCE
128
+	@$(QMAKE) -o Makefile libptsocket.pro
129
+
130
+qmake_all: sub-ptsocket-qmake_all sub-tests-qmake_all FORCE
131
+
132
+make_default: sub-ptsocket-make_default sub-tests-make_default FORCE
133
+make_first: sub-ptsocket-make_first sub-tests-make_first FORCE
134
+all: sub-ptsocket-all sub-tests-all FORCE
135
+clean: sub-ptsocket-clean sub-tests-clean FORCE
136
+distclean: sub-ptsocket-distclean sub-tests-distclean FORCE
137
+	-$(DEL_FILE) Makefile
138
+install_subtargets: sub-ptsocket-install_subtargets sub-tests-install_subtargets FORCE
139
+uninstall_subtargets: sub-ptsocket-uninstall_subtargets sub-tests-uninstall_subtargets FORCE
140
+
141
+sub-ptsocket-check: ptsocket/$(MAKEFILE)
142
+	cd ptsocket/ && $(MAKE) -f $(MAKEFILE) check
143
+sub-tests-check: tests/$(MAKEFILE)
144
+	cd tests/ && $(MAKE) -f $(MAKEFILE) check
145
+check: sub-ptsocket-check sub-tests-check
146
+
147
+mocclean: compiler_moc_header_clean compiler_moc_source_clean
148
+
149
+mocables: compiler_moc_header_make_all compiler_moc_source_make_all
150
+install: install_subtargets  FORCE
151
+
152
+uninstall:  uninstall_subtargets FORCE
153
+
154
+FORCE:
155
+

+ 1
- 0
commons.pri View File

@@ -0,0 +1 @@
1
+#DEFINES += PT_DEBUG

+ 1
- 1
libptsocket.pro View File

@@ -1,5 +1,5 @@
1 1
 TEMPLATE = subdirs
2 2
 
3 3
 SUBDIRS += \
4
-    libptsocket \
4
+    ptsocket \
5 5
     tests

+ 0
- 32
libptsocket/libptsocket.pro View File

@@ -1,32 +0,0 @@
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
-Debug:DEFINES += PT_DEBUG
20
-
21
-HEADERS += ptsocket.h\
22
-        libptsocket_global.h \
23
-    ptserver.h
24
-
25
-unix:!symbian {
26
-    maemo5 {
27
-        target.path = /opt/usr/lib
28
-    } else {
29
-        target.path = /usr/lib
30
-    }
31
-    INSTALLS += target
32
-}

+ 295
- 0
ptsocket/Makefile View File

@@ -0,0 +1,295 @@
1
+#############################################################################
2
+# Makefile for building: libptsocket.so.1.0.0
3
+# Generated by qmake (2.01a) (Qt 4.8.2) on: mar. déc. 31 16:37:00 2013
4
+# Project:  ptsocket.pro
5
+# Template: lib
6
+# Command: /usr/bin/qmake -o Makefile ptsocket.pro
7
+#############################################################################
8
+
9
+####### Compiler, tools and options
10
+
11
+CC            = gcc
12
+CXX           = g++
13
+DEFINES       = -DQT_WEBKIT -DLIBPTSOCKET_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
14
+CFLAGS        = -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES)
15
+CXXFLAGS      = -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES)
16
+INCPATH       = -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4 -I.
17
+LINK          = g++
18
+LFLAGS        = -m64 -Wl,-O1 -shared -Wl,-soname,libptsocket.so.1
19
+LIBS          = $(SUBLIBS)  -L/usr/lib/x86_64-linux-gnu -lQtNetwork -lQtCore -lpthread 
20
+AR            = ar cqs
21
+RANLIB        = 
22
+QMAKE         = /usr/bin/qmake
23
+TAR           = tar -cf
24
+COMPRESS      = gzip -9f
25
+COPY          = cp -f
26
+SED           = sed
27
+COPY_FILE     = $(COPY)
28
+COPY_DIR      = $(COPY) -r
29
+STRIP         = strip
30
+INSTALL_FILE  = install -m 644 -p
31
+INSTALL_DIR   = $(COPY_DIR)
32
+INSTALL_PROGRAM = install -m 755 -p
33
+DEL_FILE      = rm -f
34
+SYMLINK       = ln -f -s
35
+DEL_DIR       = rmdir
36
+MOVE          = mv -f
37
+CHK_DIR_EXISTS= test -d
38
+MKDIR         = mkdir -p
39
+
40
+####### Output directory
41
+
42
+OBJECTS_DIR   = ./
43
+
44
+####### Files
45
+
46
+SOURCES       = ptsocket.cpp \
47
+		ptserver.cpp moc_ptsocket.cpp \
48
+		moc_ptserver.cpp
49
+OBJECTS       = ptsocket.o \
50
+		ptserver.o \
51
+		moc_ptsocket.o \
52
+		moc_ptserver.o
53
+DIST          = /usr/share/qt4/mkspecs/common/unix.conf \
54
+		/usr/share/qt4/mkspecs/common/linux.conf \
55
+		/usr/share/qt4/mkspecs/common/gcc-base.conf \
56
+		/usr/share/qt4/mkspecs/common/gcc-base-unix.conf \
57
+		/usr/share/qt4/mkspecs/common/g++-base.conf \
58
+		/usr/share/qt4/mkspecs/common/g++-unix.conf \
59
+		/usr/share/qt4/mkspecs/qconfig.pri \
60
+		/usr/share/qt4/mkspecs/modules/qt_phonon.pri \
61
+		/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
62
+		/usr/share/qt4/mkspecs/features/qt_functions.prf \
63
+		/usr/share/qt4/mkspecs/features/qt_config.prf \
64
+		/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
65
+		/usr/share/qt4/mkspecs/features/default_pre.prf \
66
+		../commons.pri \
67
+		/usr/share/qt4/mkspecs/features/release.prf \
68
+		/usr/share/qt4/mkspecs/features/default_post.prf \
69
+		/usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
70
+		/usr/share/qt4/mkspecs/features/warn_on.prf \
71
+		/usr/share/qt4/mkspecs/features/qt.prf \
72
+		/usr/share/qt4/mkspecs/features/unix/thread.prf \
73
+		/usr/share/qt4/mkspecs/features/moc.prf \
74
+		/usr/share/qt4/mkspecs/features/resources.prf \
75
+		/usr/share/qt4/mkspecs/features/uic.prf \
76
+		/usr/share/qt4/mkspecs/features/yacc.prf \
77
+		/usr/share/qt4/mkspecs/features/lex.prf \
78
+		/usr/share/qt4/mkspecs/features/include_source_dir.prf \
79
+		ptsocket.pro
80
+QMAKE_TARGET  = ptsocket
81
+DESTDIR       = 
82
+TARGET        = libptsocket.so.1.0.0
83
+TARGETA       = libptsocket.a
84
+TARGETD       = libptsocket.so.1.0.0
85
+TARGET0       = libptsocket.so
86
+TARGET1       = libptsocket.so.1
87
+TARGET2       = libptsocket.so.1.0
88
+
89
+first: all
90
+####### Implicit rules
91
+
92
+.SUFFIXES: .o .c .cpp .cc .cxx .C
93
+
94
+.cpp.o:
95
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
96
+
97
+.cc.o:
98
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
99
+
100
+.cxx.o:
101
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
102
+
103
+.C.o:
104
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
105
+
106
+.c.o:
107
+	$(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
108
+
109
+####### Build rules
110
+
111
+all: Makefile  $(TARGET)
112
+
113
+$(TARGET):  $(OBJECTS) $(SUBLIBS) $(OBJCOMP)  
114
+	-$(DEL_FILE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2)
115
+	$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) $(OBJCOMP)
116
+	-ln -s $(TARGET) $(TARGET0)
117
+	-ln -s $(TARGET) $(TARGET1)
118
+	-ln -s $(TARGET) $(TARGET2)
119
+
120
+
121
+
122
+staticlib: $(TARGETA)
123
+
124
+$(TARGETA):  $(OBJECTS) $(OBJCOMP) 
125
+	-$(DEL_FILE) $(TARGETA) 
126
+	$(AR) $(TARGETA) $(OBJECTS)
127
+
128
+Makefile: ptsocket.pro  /usr/share/qt4/mkspecs/linux-g++-64/qmake.conf /usr/share/qt4/mkspecs/common/unix.conf \
129
+		/usr/share/qt4/mkspecs/common/linux.conf \
130
+		/usr/share/qt4/mkspecs/common/gcc-base.conf \
131
+		/usr/share/qt4/mkspecs/common/gcc-base-unix.conf \
132
+		/usr/share/qt4/mkspecs/common/g++-base.conf \
133
+		/usr/share/qt4/mkspecs/common/g++-unix.conf \
134
+		/usr/share/qt4/mkspecs/qconfig.pri \
135
+		/usr/share/qt4/mkspecs/modules/qt_phonon.pri \
136
+		/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
137
+		/usr/share/qt4/mkspecs/features/qt_functions.prf \
138
+		/usr/share/qt4/mkspecs/features/qt_config.prf \
139
+		/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
140
+		/usr/share/qt4/mkspecs/features/default_pre.prf \
141
+		../commons.pri \
142
+		/usr/share/qt4/mkspecs/features/release.prf \
143
+		/usr/share/qt4/mkspecs/features/default_post.prf \
144
+		/usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
145
+		/usr/share/qt4/mkspecs/features/warn_on.prf \
146
+		/usr/share/qt4/mkspecs/features/qt.prf \
147
+		/usr/share/qt4/mkspecs/features/unix/thread.prf \
148
+		/usr/share/qt4/mkspecs/features/moc.prf \
149
+		/usr/share/qt4/mkspecs/features/resources.prf \
150
+		/usr/share/qt4/mkspecs/features/uic.prf \
151
+		/usr/share/qt4/mkspecs/features/yacc.prf \
152
+		/usr/share/qt4/mkspecs/features/lex.prf \
153
+		/usr/share/qt4/mkspecs/features/include_source_dir.prf \
154
+		/usr/lib/x86_64-linux-gnu/libQtNetwork.prl \
155
+		/usr/lib/x86_64-linux-gnu/libQtCore.prl
156
+	$(QMAKE) -o Makefile ptsocket.pro
157
+/usr/share/qt4/mkspecs/common/unix.conf:
158
+/usr/share/qt4/mkspecs/common/linux.conf:
159
+/usr/share/qt4/mkspecs/common/gcc-base.conf:
160
+/usr/share/qt4/mkspecs/common/gcc-base-unix.conf:
161
+/usr/share/qt4/mkspecs/common/g++-base.conf:
162
+/usr/share/qt4/mkspecs/common/g++-unix.conf:
163
+/usr/share/qt4/mkspecs/qconfig.pri:
164
+/usr/share/qt4/mkspecs/modules/qt_phonon.pri:
165
+/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri:
166
+/usr/share/qt4/mkspecs/features/qt_functions.prf:
167
+/usr/share/qt4/mkspecs/features/qt_config.prf:
168
+/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
169
+/usr/share/qt4/mkspecs/features/default_pre.prf:
170
+../commons.pri:
171
+/usr/share/qt4/mkspecs/features/release.prf:
172
+/usr/share/qt4/mkspecs/features/default_post.prf:
173
+/usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf:
174
+/usr/share/qt4/mkspecs/features/warn_on.prf:
175
+/usr/share/qt4/mkspecs/features/qt.prf:
176
+/usr/share/qt4/mkspecs/features/unix/thread.prf:
177
+/usr/share/qt4/mkspecs/features/moc.prf:
178
+/usr/share/qt4/mkspecs/features/resources.prf:
179
+/usr/share/qt4/mkspecs/features/uic.prf:
180
+/usr/share/qt4/mkspecs/features/yacc.prf:
181
+/usr/share/qt4/mkspecs/features/lex.prf:
182
+/usr/share/qt4/mkspecs/features/include_source_dir.prf:
183
+/usr/lib/x86_64-linux-gnu/libQtNetwork.prl:
184
+/usr/lib/x86_64-linux-gnu/libQtCore.prl:
185
+qmake:  FORCE
186
+	@$(QMAKE) -o Makefile ptsocket.pro
187
+
188
+dist: 
189
+	@$(CHK_DIR_EXISTS) .tmp/ptsocket1.0.0 || $(MKDIR) .tmp/ptsocket1.0.0 
190
+	$(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/ptsocket1.0.0/ && $(COPY_FILE) --parents ptsocket.h libptsocket_global.h ptserver.h .tmp/ptsocket1.0.0/ && $(COPY_FILE) --parents ptsocket.cpp ptserver.cpp .tmp/ptsocket1.0.0/ && (cd `dirname .tmp/ptsocket1.0.0` && $(TAR) ptsocket1.0.0.tar ptsocket1.0.0 && $(COMPRESS) ptsocket1.0.0.tar) && $(MOVE) `dirname .tmp/ptsocket1.0.0`/ptsocket1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/ptsocket1.0.0
191
+
192
+
193
+clean:compiler_clean 
194
+	-$(DEL_FILE) $(OBJECTS)
195
+	-$(DEL_FILE) *~ core *.core
196
+
197
+
198
+####### Sub-libraries
199
+
200
+distclean: clean
201
+	-$(DEL_FILE) $(TARGET) 
202
+	-$(DEL_FILE) $(TARGET0) $(TARGET1) $(TARGET2) $(TARGETA)
203
+	-$(DEL_FILE) Makefile
204
+
205
+
206
+check: first
207
+
208
+mocclean: compiler_moc_header_clean compiler_moc_source_clean
209
+
210
+mocables: compiler_moc_header_make_all compiler_moc_source_make_all
211
+
212
+compiler_moc_header_make_all: moc_ptsocket.cpp moc_ptserver.cpp
213
+compiler_moc_header_clean:
214
+	-$(DEL_FILE) moc_ptsocket.cpp moc_ptserver.cpp
215
+moc_ptsocket.cpp: libptsocket_global.h \
216
+		ptsocket.h
217
+	/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) ptsocket.h -o moc_ptsocket.cpp
218
+
219
+moc_ptserver.cpp: libptsocket_global.h \
220
+		ptsocket.h \
221
+		ptserver.h
222
+	/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) ptserver.h -o moc_ptserver.cpp
223
+
224
+compiler_rcc_make_all:
225
+compiler_rcc_clean:
226
+compiler_image_collection_make_all: qmake_image_collection.cpp
227
+compiler_image_collection_clean:
228
+	-$(DEL_FILE) qmake_image_collection.cpp
229
+compiler_moc_source_make_all:
230
+compiler_moc_source_clean:
231
+compiler_uic_make_all:
232
+compiler_uic_clean:
233
+compiler_yacc_decl_make_all:
234
+compiler_yacc_decl_clean:
235
+compiler_yacc_impl_make_all:
236
+compiler_yacc_impl_clean:
237
+compiler_lex_make_all:
238
+compiler_lex_clean:
239
+compiler_clean: compiler_moc_header_clean 
240
+
241
+####### Compile
242
+
243
+ptsocket.o: ptsocket.cpp ptsocket.h \
244
+		libptsocket_global.h
245
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o ptsocket.o ptsocket.cpp
246
+
247
+ptserver.o: ptserver.cpp ptserver.h \
248
+		libptsocket_global.h \
249
+		ptsocket.h
250
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o ptserver.o ptserver.cpp
251
+
252
+moc_ptsocket.o: moc_ptsocket.cpp 
253
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_ptsocket.o moc_ptsocket.cpp
254
+
255
+moc_ptserver.o: moc_ptserver.cpp 
256
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_ptserver.o moc_ptserver.cpp
257
+
258
+####### Install
259
+
260
+install_headers: first FORCE
261
+	@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/include/ptsocket/ || $(MKDIR) $(INSTALL_ROOT)/usr/include/ptsocket/ 
262
+	-$(INSTALL_FILE) /pxeroot/root/share/libptsocket/ptsocket/ptsocket.h $(INSTALL_ROOT)/usr/include/ptsocket/
263
+	-$(INSTALL_FILE) /pxeroot/root/share/libptsocket/ptsocket/libptsocket_global.h $(INSTALL_ROOT)/usr/include/ptsocket/
264
+	-$(INSTALL_FILE) /pxeroot/root/share/libptsocket/ptsocket/ptserver.h $(INSTALL_ROOT)/usr/include/ptsocket/
265
+
266
+
267
+uninstall_headers:  FORCE
268
+	-$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/ptsocket/ptsocket.h 
269
+	 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/ptsocket/libptsocket_global.h 
270
+	 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/ptsocket/ptserver.h
271
+	-$(DEL_DIR) $(INSTALL_ROOT)/usr/include/ptsocket/ 
272
+
273
+
274
+install_target: first FORCE
275
+	@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/lib/ || $(MKDIR) $(INSTALL_ROOT)/usr/lib/ 
276
+	-$(INSTALL_PROGRAM) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib/$(TARGET)"
277
+	-$(STRIP) --strip-unneeded "$(INSTALL_ROOT)/usr/lib/$(TARGET)"
278
+	-$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib/$(TARGET0)"
279
+	-$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib/$(TARGET1)"
280
+	-$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib/$(TARGET2)"
281
+
282
+uninstall_target:  FORCE
283
+	-$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib/$(TARGET)" 
284
+	 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib/$(TARGET0)" 
285
+	 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib/$(TARGET1)" 
286
+	 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib/$(TARGET2)"
287
+	-$(DEL_DIR) $(INSTALL_ROOT)/usr/lib/ 
288
+
289
+
290
+install:  install_headers install_target  FORCE
291
+
292
+uninstall: uninstall_headers uninstall_target   FORCE
293
+
294
+FORCE:
295
+

libptsocket/libptsocket_global.h → ptsocket/libptsocket_global.h View File


libptsocket/ptserver.cpp → ptsocket/ptserver.cpp View File

@@ -13,6 +13,11 @@ PTSocket *PTServer::nextPendingConnection()
13 13
     return sock;
14 14
 }
15 15
 
16
+QList<PTSocket*> PTServer::getClients() const
17
+{
18
+	return m_clients;
19
+}
20
+
16 21
 void PTServer::incomingConnection(int handle)
17 22
 {
18 23
     PTSocket* sock = new PTSocket(this);

libptsocket/ptserver.h → ptsocket/ptserver.h View File

@@ -14,26 +14,26 @@ class LIBPTSOCKETSHARED_EXPORT PTServer : public QTcpServer
14 14
 	Q_OBJECT
15 15
 public:
16 16
 	explicit PTServer(QObject *parent = 0);
17
-
18
-    virtual PTSocket* nextPendingConnection();
17
+	virtual PTSocket* nextPendingConnection();
18
+	QList<PTSocket*> getClients() const;
19 19
 
20 20
 protected:
21 21
     virtual void incomingConnection(int handle);
22 22
 
23 23
 signals:
24 24
 	void newClient(PTSocket*);
25
-	
25
+
26 26
 public slots:
27 27
 
28 28
 private slots:
29 29
 	void m_newConnection();
30
-    void m_clientStateChanged(PTSocket::State s);
30
+	void m_clientStateChanged(PTSocket::State s);
31 31
 
32 32
 private:
33 33
 	QList<PTSocket*> m_tempClients;
34 34
 	QList<PTSocket*> m_clients;
35
-    QQueue<PTSocket*> m_incomings;
36
-	
35
+	QQueue<PTSocket*> m_incomings;
36
+
37 37
 };
38 38
 
39 39
 #endif // PTSERVER_H

libptsocket/ptsocket.cpp → ptsocket/ptsocket.cpp View File


libptsocket/ptsocket.h → ptsocket/ptsocket.h View File


+ 21
- 0
ptsocket/ptsocket.pro View File

@@ -0,0 +1,21 @@
1
+QT       += network
2
+QT       -= gui
3
+include(../commons.pri)
4
+TARGET = ptsocket
5
+TEMPLATE = lib
6
+DEFINES += LIBPTSOCKET_LIBRARY
7
+
8
+SOURCES += ptsocket.cpp ptserver.cpp
9
+HEADERS += ptsocket.h libptsocket_global.h ptserver.h
10
+
11
+unix:!symbian {
12
+    maemo5 {
13
+        target.path = /opt/usr/lib
14
+    } else {
15
+        target.path = /usr/lib
16
+	headers.path = /usr/include/ptsocket
17
+	headers.files = $$HEADERS
18
+	INSTALLS += headers
19
+    }
20
+    INSTALLS += target
21
+}

+ 243
- 0
tests/Makefile View File

@@ -0,0 +1,243 @@
1
+#############################################################################
2
+# Makefile for building: tests
3
+# Generated by qmake (2.01a) (Qt 4.8.2) on: mar. déc. 31 16:15:32 2013
4
+# Project:  tests.pro
5
+# Template: app
6
+# Command: /usr/bin/qmake -o Makefile tests.pro
7
+#############################################################################
8
+
9
+####### Compiler, tools and options
10
+
11
+CC            = gcc
12
+CXX           = g++
13
+DEFINES       = -DQT_WEBKIT -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
14
+CFLAGS        = -m64 -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
15
+CXXFLAGS      = -m64 -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
16
+INCPATH       = -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4 -I../ptsocket -I.
17
+LINK          = g++
18
+LFLAGS        = -m64
19
+LIBS          = $(SUBLIBS)  -L/usr/lib/x86_64-linux-gnu -L/pxeroot/root/share/libptsocket/tests/../ptsocket/ -lptsocket -lQtNetwork -lQtCore -lpthread 
20
+AR            = ar cqs
21
+RANLIB        = 
22
+QMAKE         = /usr/bin/qmake
23
+TAR           = tar -cf
24
+COMPRESS      = gzip -9f
25
+COPY          = cp -f
26
+SED           = sed
27
+COPY_FILE     = $(COPY)
28
+COPY_DIR      = $(COPY) -r
29
+STRIP         = strip
30
+INSTALL_FILE  = install -m 644 -p
31
+INSTALL_DIR   = $(COPY_DIR)
32
+INSTALL_PROGRAM = install -m 755 -p
33
+DEL_FILE      = rm -f
34
+SYMLINK       = ln -f -s
35
+DEL_DIR       = rmdir
36
+MOVE          = mv -f
37
+CHK_DIR_EXISTS= test -d
38
+MKDIR         = mkdir -p
39
+
40
+####### Output directory
41
+
42
+OBJECTS_DIR   = ./
43
+
44
+####### Files
45
+
46
+SOURCES       = main.cpp \
47
+		test.cpp moc_test.cpp
48
+OBJECTS       = main.o \
49
+		test.o \
50
+		moc_test.o
51
+DIST          = /usr/share/qt4/mkspecs/common/unix.conf \
52
+		/usr/share/qt4/mkspecs/common/linux.conf \
53
+		/usr/share/qt4/mkspecs/common/gcc-base.conf \
54
+		/usr/share/qt4/mkspecs/common/gcc-base-unix.conf \
55
+		/usr/share/qt4/mkspecs/common/g++-base.conf \
56
+		/usr/share/qt4/mkspecs/common/g++-unix.conf \
57
+		/usr/share/qt4/mkspecs/qconfig.pri \
58
+		/usr/share/qt4/mkspecs/modules/qt_phonon.pri \
59
+		/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
60
+		/usr/share/qt4/mkspecs/features/qt_functions.prf \
61
+		/usr/share/qt4/mkspecs/features/qt_config.prf \
62
+		/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
63
+		/usr/share/qt4/mkspecs/features/default_pre.prf \
64
+		../commons.pri \
65
+		/usr/share/qt4/mkspecs/features/debug.prf \
66
+		/usr/share/qt4/mkspecs/features/default_post.prf \
67
+		/usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
68
+		/usr/share/qt4/mkspecs/features/warn_on.prf \
69
+		/usr/share/qt4/mkspecs/features/qt.prf \
70
+		/usr/share/qt4/mkspecs/features/unix/thread.prf \
71
+		/usr/share/qt4/mkspecs/features/moc.prf \
72
+		/usr/share/qt4/mkspecs/features/resources.prf \
73
+		/usr/share/qt4/mkspecs/features/uic.prf \
74
+		/usr/share/qt4/mkspecs/features/yacc.prf \
75
+		/usr/share/qt4/mkspecs/features/lex.prf \
76
+		/usr/share/qt4/mkspecs/features/include_source_dir.prf \
77
+		tests.pro
78
+QMAKE_TARGET  = tests
79
+DESTDIR       = 
80
+TARGET        = tests
81
+
82
+first: all
83
+####### Implicit rules
84
+
85
+.SUFFIXES: .o .c .cpp .cc .cxx .C
86
+
87
+.cpp.o:
88
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
89
+
90
+.cc.o:
91
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
92
+
93
+.cxx.o:
94
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
95
+
96
+.C.o:
97
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
98
+
99
+.c.o:
100
+	$(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
101
+
102
+####### Build rules
103
+
104
+all: Makefile $(TARGET)
105
+
106
+$(TARGET):  $(OBJECTS)  
107
+	$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
108
+	{ test -n "$(DESTDIR)" && DESTDIR="$(DESTDIR)" || DESTDIR=.; } && test $$(gdb --version | sed -e 's,[^0-9]\+\([0-9]\)\.\([0-9]\).*,\1\2,;q') -gt 72 && gdb --nx --batch --quiet -ex 'set confirm off' -ex "save gdb-index $$DESTDIR" -ex quit '$(TARGET)' && test -f $(TARGET).gdb-index && objcopy --add-section '.gdb_index=$(TARGET).gdb-index' --set-section-flags '.gdb_index=readonly' '$(TARGET)' '$(TARGET)' && rm -f $(TARGET).gdb-index || true
109
+
110
+Makefile: tests.pro  /usr/share/qt4/mkspecs/linux-g++-64/qmake.conf /usr/share/qt4/mkspecs/common/unix.conf \
111
+		/usr/share/qt4/mkspecs/common/linux.conf \
112
+		/usr/share/qt4/mkspecs/common/gcc-base.conf \
113
+		/usr/share/qt4/mkspecs/common/gcc-base-unix.conf \
114
+		/usr/share/qt4/mkspecs/common/g++-base.conf \
115
+		/usr/share/qt4/mkspecs/common/g++-unix.conf \
116
+		/usr/share/qt4/mkspecs/qconfig.pri \
117
+		/usr/share/qt4/mkspecs/modules/qt_phonon.pri \
118
+		/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
119
+		/usr/share/qt4/mkspecs/features/qt_functions.prf \
120
+		/usr/share/qt4/mkspecs/features/qt_config.prf \
121
+		/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
122
+		/usr/share/qt4/mkspecs/features/default_pre.prf \
123
+		../commons.pri \
124
+		/usr/share/qt4/mkspecs/features/debug.prf \
125
+		/usr/share/qt4/mkspecs/features/default_post.prf \
126
+		/usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
127
+		/usr/share/qt4/mkspecs/features/warn_on.prf \
128
+		/usr/share/qt4/mkspecs/features/qt.prf \
129
+		/usr/share/qt4/mkspecs/features/unix/thread.prf \
130
+		/usr/share/qt4/mkspecs/features/moc.prf \
131
+		/usr/share/qt4/mkspecs/features/resources.prf \
132
+		/usr/share/qt4/mkspecs/features/uic.prf \
133
+		/usr/share/qt4/mkspecs/features/yacc.prf \
134
+		/usr/share/qt4/mkspecs/features/lex.prf \
135
+		/usr/share/qt4/mkspecs/features/include_source_dir.prf \
136
+		/usr/lib/x86_64-linux-gnu/libQtNetwork.prl \
137
+		/usr/lib/x86_64-linux-gnu/libQtCore.prl
138
+	$(QMAKE) -o Makefile tests.pro
139
+/usr/share/qt4/mkspecs/common/unix.conf:
140
+/usr/share/qt4/mkspecs/common/linux.conf:
141
+/usr/share/qt4/mkspecs/common/gcc-base.conf:
142
+/usr/share/qt4/mkspecs/common/gcc-base-unix.conf:
143
+/usr/share/qt4/mkspecs/common/g++-base.conf:
144
+/usr/share/qt4/mkspecs/common/g++-unix.conf:
145
+/usr/share/qt4/mkspecs/qconfig.pri:
146
+/usr/share/qt4/mkspecs/modules/qt_phonon.pri:
147
+/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri:
148
+/usr/share/qt4/mkspecs/features/qt_functions.prf:
149
+/usr/share/qt4/mkspecs/features/qt_config.prf:
150
+/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
151
+/usr/share/qt4/mkspecs/features/default_pre.prf:
152
+../commons.pri:
153
+/usr/share/qt4/mkspecs/features/debug.prf:
154
+/usr/share/qt4/mkspecs/features/default_post.prf:
155
+/usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf:
156
+/usr/share/qt4/mkspecs/features/warn_on.prf:
157
+/usr/share/qt4/mkspecs/features/qt.prf:
158
+/usr/share/qt4/mkspecs/features/unix/thread.prf:
159
+/usr/share/qt4/mkspecs/features/moc.prf:
160
+/usr/share/qt4/mkspecs/features/resources.prf:
161
+/usr/share/qt4/mkspecs/features/uic.prf:
162
+/usr/share/qt4/mkspecs/features/yacc.prf:
163
+/usr/share/qt4/mkspecs/features/lex.prf:
164
+/usr/share/qt4/mkspecs/features/include_source_dir.prf:
165
+/usr/lib/x86_64-linux-gnu/libQtNetwork.prl:
166
+/usr/lib/x86_64-linux-gnu/libQtCore.prl:
167
+qmake:  FORCE
168
+	@$(QMAKE) -o Makefile tests.pro
169
+
170
+dist: 
171
+	@$(CHK_DIR_EXISTS) .tmp/tests1.0.0 || $(MKDIR) .tmp/tests1.0.0 
172
+	$(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/tests1.0.0/ && $(COPY_FILE) --parents test.h .tmp/tests1.0.0/ && $(COPY_FILE) --parents main.cpp test.cpp .tmp/tests1.0.0/ && (cd `dirname .tmp/tests1.0.0` && $(TAR) tests1.0.0.tar tests1.0.0 && $(COMPRESS) tests1.0.0.tar) && $(MOVE) `dirname .tmp/tests1.0.0`/tests1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/tests1.0.0
173
+
174
+
175
+clean:compiler_clean 
176
+	-$(DEL_FILE) $(OBJECTS)
177
+	-$(DEL_FILE) *~ core *.core
178
+
179
+
180
+####### Sub-libraries
181
+
182
+distclean: clean
183
+	-$(DEL_FILE) $(TARGET) 
184
+	-$(DEL_FILE) Makefile
185
+
186
+
187
+check: first
188
+
189
+mocclean: compiler_moc_header_clean compiler_moc_source_clean
190
+
191
+mocables: compiler_moc_header_make_all compiler_moc_source_make_all
192
+
193
+compiler_moc_header_make_all: moc_test.cpp
194
+compiler_moc_header_clean:
195
+	-$(DEL_FILE) moc_test.cpp
196
+moc_test.cpp: ../ptsocket/ptserver.h \
197
+		../ptsocket/libptsocket_global.h \
198
+		../ptsocket/ptsocket.h \
199
+		test.h
200
+	/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) test.h -o moc_test.cpp
201
+
202
+compiler_rcc_make_all:
203
+compiler_rcc_clean:
204
+compiler_image_collection_make_all: qmake_image_collection.cpp
205
+compiler_image_collection_clean:
206
+	-$(DEL_FILE) qmake_image_collection.cpp
207
+compiler_moc_source_make_all:
208
+compiler_moc_source_clean:
209
+compiler_uic_make_all:
210
+compiler_uic_clean:
211
+compiler_yacc_decl_make_all:
212
+compiler_yacc_decl_clean:
213
+compiler_yacc_impl_make_all:
214
+compiler_yacc_impl_clean:
215
+compiler_lex_make_all:
216
+compiler_lex_clean:
217
+compiler_clean: compiler_moc_header_clean 
218
+
219
+####### Compile
220
+
221
+main.o: main.cpp test.h \
222
+		../ptsocket/ptserver.h \
223
+		../ptsocket/libptsocket_global.h \
224
+		../ptsocket/ptsocket.h
225
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
226
+
227
+test.o: test.cpp test.h \
228
+		../ptsocket/ptserver.h \
229
+		../ptsocket/libptsocket_global.h \
230
+		../ptsocket/ptsocket.h
231
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o test.o test.cpp
232
+
233
+moc_test.o: moc_test.cpp 
234
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_test.o moc_test.cpp
235
+
236
+####### Install
237
+
238
+install:   FORCE
239
+
240
+uninstall:   FORCE
241
+
242
+FORCE:
243
+

+ 1
- 0
tests/test.cpp View File

@@ -6,6 +6,7 @@ Test::Test(QObject *parent) : QObject(parent)
6 6
     qDebug()<<"Debug mode";
7 7
 #else
8 8
     qDebug()<<"Release mode";
9
+#warning PTSocket is not in debug mode
9 10
 #endif
10 11
     m_serv = new PTServer(this);
11 12
     m_timeoutTimer.setSingleShot(true);

+ 11
- 21
tests/tests.pro View File

@@ -1,29 +1,19 @@
1
-#-------------------------------------------------
2
-#
3
-# Project created by QtCreator 2013-12-12T18:00:31
4
-#
5
-#-------------------------------------------------
6
-
7 1
 QT       += core network
8
-
9 2
 QT       -= gui
10
-
11 3
 TARGET = tests
12
-CONFIG   += console
13
-CONFIG   -= app_bundle
14
-
15 4
 TEMPLATE = app
5
+CONFIG += console
6
+CONFIG -= app_bundle
7
+CONFIG += debug
8
+include(../commons.pri)
16 9
 
10
+SOURCES += main.cpp test.cpp
11
+HEADERS += test.h
17 12
 
18
-SOURCES += main.cpp \
19
-    test.cpp
20
-
21
-win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../libptsocket/release/ -llibptsocket
22
-else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../libptsocket/debug/ -llibptsocket
23
-else:unix:!macx: LIBS += -L$$OUT_PWD/../libptsocket/ -llibptsocket
13
+win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../ptsocket/release/ -lptsocket
14
+else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../ptsocket/debug/ -lptsocket
15
+else:unix:!macx: LIBS += -L$$OUT_PWD/../ptsocket/ -lptsocket
24 16
 
25
-INCLUDEPATH += $$PWD/../libptsocket
26
-DEPENDPATH += $$PWD/../libptsocket
17
+INCLUDEPATH += $$PWD/../ptsocket
18
+DEPENDPATH += $$PWD/../ptsocket
27 19
 
28
-HEADERS += \
29
-    test.h

Loading…
Cancel
Save