From 63fb8982d1be5350cf5ebf8d1b949234cc7583c9 Mon Sep 17 00:00:00 2001 From: Syping Date: Thu, 16 Jul 2020 12:31:42 +0200 Subject: [PATCH] add copyright header --- main.cpp | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/main.cpp b/main.cpp index 7496e63..6165813 100644 --- a/main.cpp +++ b/main.cpp @@ -1,8 +1,37 @@ +/***************************************************************************** +* smsub Server Manager Subprocess +* Copyright (C) 2020 Syping +* +* Redistribution and use in source and binary forms, with or without modification, +* are permitted provided that the following conditions are met: +* +* 1. Redistributions of source code must retain the above copyright notice, +* this list of conditions and the following disclaimer. +* +* 2. Redistributions in binary form must reproduce the above copyright notice, +* this list of conditions and the following disclaimer in the documentation +* and/or other materials provided with the distribution. +* +* 3. This software is provided as-is, no warranties are given, we are not +* responsible for anything with use of the software, you are self responsible. +*****************************************************************************/ + +#include +#include #include int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); + a.setApplicationName("Server Manager Subprocess"); + a.setApplicationVersion("0.1"); + + QCommandLineParser commandLineParser; + commandLineParser.addHelpOption(); + commandLineParser.addVersionOption(); + + QCommandLineOption processManifest("json", "JSON process manifest.", "json"); + commandLineParser.addOption(processManifest); return a.exec(); }