Permalink
Browse files

Added the image service API to the backend.

Signed-off-by: Stuart Morgan <smorgan@mythtv.org>
  • Loading branch information...
1 parent 2d981be commit 9b42c22c4d757a21f0e7d4187b0926e62c3adb7f Robert Siebert committed with stuartm Mar 20, 2013
@@ -32,10 +32,12 @@ HEADERS += serviceHosts/mythServiceHost.h serviceHosts/guideServiceHost.h
HEADERS += serviceHosts/contentServiceHost.h serviceHosts/dvrServiceHost.h
HEADERS += serviceHosts/channelServiceHost.h serviceHosts/videoServiceHost.h
HEADERS += serviceHosts/captureServiceHost.h
+HEADERS += serviceHosts/imageServiceHost.h
HEADERS += services/myth.h services/guide.h services/content.h services/dvr.h
HEADERS += services/serviceUtil.h services/channel.h services/video.h
HEADERS += services/capture.h
+HEADERS += services/image.h
SOURCES += autoexpire.cpp encoderlink.cpp filetransfer.cpp httpstatus.cpp
SOURCES += main.cpp mainserver.cpp playbacksock.cpp scheduler.cpp server.cpp
@@ -47,6 +49,7 @@ SOURCES += httpconfig.cpp mythsettings.cpp commandlineparser.cpp
SOURCES += services/myth.cpp services/guide.cpp services/content.cpp
SOURCES += services/dvr.cpp services/channel.cpp services/video.cpp
SOURCES += services/serviceUtil.cpp services/capture.cpp
+SOURCES += services/image.cpp
using_oss:DEFINES += USING_OSS
@@ -0,0 +1,49 @@
+//////////////////////////////////////////////////////////////////////////////
+// Program Name: contentServiceHost.h
+// Created : Jul. 27, 2012
+//
+// Purpose - Content Service Host
+//
+// Copyright (c) 2012 Robert Siebert <trebor_s@web.de>
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or at your option any later version of the LGPL.
+//
+// This library 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
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library. If not, see <http://www.gnu.org/licenses/>.
+//
+//////////////////////////////////////////////////////////////////////////////
+
+#ifndef IMAGESERVICEHOST_H_
+#define IMAGESERVICEHOST_H_
+
+#include "servicehost.h"
+#include "services/image.h"
+
+
+
+class ImageServiceHost : public ServiceHost
+{
+ public:
+
+ ImageServiceHost( const QString &sSharePath )
+ : ServiceHost( Image::staticMetaObject,
+ "Image",
+ "/Image",
+ sSharePath )
+ {
+ }
+
+ virtual ~ImageServiceHost()
+ {
+ }
+};
+
+#endif
Oops, something went wrong.

0 comments on commit 9b42c22

Please sign in to comment.