summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/include/protocol.h23
-rw-r--r--server/src/main.cpp19
-rw-r--r--server/src/protocol.cpp21
-rw-r--r--server/udm-server.cbp5
4 files changed, 66 insertions, 2 deletions
diff --git a/server/include/protocol.h b/server/include/protocol.h
index 16a7643..7aa9c93 100644
--- a/server/include/protocol.h
+++ b/server/include/protocol.h
@@ -1,3 +1,24 @@
+/*
+ Copyright © 2015 Gluzskiy Alexandr (sss)
+
+ This file is part of Unknown Download Manager (UDM).
+
+ UDM is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 2 of the License, or
+ (at your option) any later version.
+
+ UDM is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with UDM. If not, see <http://www.gnu.org/licenses/>.
+
+*/
+
+
#ifndef PROTOCOL_H
#define PROTOCOL_H
@@ -7,8 +28,6 @@ class protocol
public:
protocol();
virtual ~protocol();
- protected:
- private:
};
#endif // PROTOCOL_H
diff --git a/server/src/main.cpp b/server/src/main.cpp
index 4faba80..61a2474 100644
--- a/server/src/main.cpp
+++ b/server/src/main.cpp
@@ -1,3 +1,22 @@
+/*
+ Copyright © 2015 Gluzskiy Alexandr (sss)
+
+ This file is part of Unknown Download Manager (UDM).
+
+ UDM is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 2 of the License, or
+ (at your option) any later version.
+
+ UDM is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with UDM. If not, see <http://www.gnu.org/licenses/>.
+
+*/
int main(int argc, char *argv[])
diff --git a/server/src/protocol.cpp b/server/src/protocol.cpp
index f70f471..976857a 100644
--- a/server/src/protocol.cpp
+++ b/server/src/protocol.cpp
@@ -1,3 +1,24 @@
+/*
+ Copyright © 2015 Gluzskiy Alexandr (sss)
+
+ This file is part of Unknown Download Manager (UDM).
+
+ UDM is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 2 of the License, or
+ (at your option) any later version.
+
+ UDM is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with UDM. If not, see <http://www.gnu.org/licenses/>.
+
+*/
+
+
#include "protocol.h"
#include "../../protocol/udm.pb.h"
diff --git a/server/udm-server.cbp b/server/udm-server.cbp
index 401c773..ee60bf0 100644
--- a/server/udm-server.cbp
+++ b/server/udm-server.cbp
@@ -31,6 +31,7 @@
<Compiler>
<Add option="-Wall" />
<Add directory="include" />
+ <Add directory="../protocol" />
</Compiler>
<Linker>
<Add library="protobuf" />
@@ -41,6 +42,10 @@
</ExtraCommands>
<Unit filename="../protocol/udm.pb.cc" />
<Unit filename="../protocol/udm.pb.h" />
+ <Unit filename="include/api_core.h" />
+ <Unit filename="include/api_module_base.h" />
+ <Unit filename="include/api_module_downloader.h" />
+ <Unit filename="include/api_module_metadata_storage.h" />
<Unit filename="include/protocol.h" />
<Unit filename="src/main.cpp" />
<Unit filename="src/protocol.cpp" />