diff options
author | geronimo <geronimo013@gmx.de> | 2012-07-13 06:17:43 +0200 |
---|---|---|
committer | geronimo <geronimo013@gmx.de> | 2012-07-13 06:17:43 +0200 |
commit | 8d311771df7448ada1410bfce0993fdaa3698106 (patch) | |
tree | 90d37c7238ac2b46ec05a2ba1acbd8cec6af6dea /libs/networking/include/ServerConfig.h | |
parent | e9237d65ac03840de56e50cacf95001273bcff59 (diff) | |
download | cmp-8d311771df7448ada1410bfce0993fdaa3698106.tar.gz cmp-8d311771df7448ada1410bfce0993fdaa3698106.tar.bz2 |
added basic commandline support for cmps
Diffstat (limited to 'libs/networking/include/ServerConfig.h')
-rw-r--r-- | libs/networking/include/ServerConfig.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/libs/networking/include/ServerConfig.h b/libs/networking/include/ServerConfig.h index f64b5f5..c61c896 100644 --- a/libs/networking/include/ServerConfig.h +++ b/libs/networking/include/ServerConfig.h @@ -1,25 +1,25 @@ /** * ======================== legal notice ====================== - * + * * File: ServerConfig.h * Created: 8. Juli 2012, 06:12 * Author: <a href="mailto:geronimo013@gmx.de">Geronimo</a> * Project: libnetworking: classes for tcp/ip sockets and http-protocol handling - * + * * CMP - compound media player - * + * * is a client/server mediaplayer intended to play any media from any workstation * without the need to export or mount shares. cmps is an easy to use backend * with a (ready to use) HTML-interface. Additionally the backend supports * authentication via HTTP-digest authorization. * cmpc is a client with vdr-like osd-menues. - * + * * Copyright (c) 2012 Reinhard Mantey, some rights reserved! * published under Creative Commons by-sa * For details see http://creativecommons.org/licenses/by-sa/3.0/ - * + * * The cmp project's homepage is at http://projects.vdr-developer.org/projects/cmp - * + * * -------------------------------------------------------------- */ #ifndef SERVERCONFIG_H @@ -41,6 +41,7 @@ public: void SetAppIcon(const char *AppIcon); void SetAuthorizationRequired(bool Authorize) { authorizationRequired = Authorize; } void SetDocumentRoot(const char *DocumentRoot); + void SetPort(int port); private: cServerSocket server; |