Skip to content

Commit

Permalink
Added the image service API to the backend.
Browse files Browse the repository at this point in the history
Signed-off-by: Stuart Morgan <smorgan@mythtv.org>
  • Loading branch information
Robert Siebert authored and stuartm committed Sep 19, 2013
1 parent 2d981be commit 9b42c22
Show file tree
Hide file tree
Showing 4 changed files with 496 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mythtv/programs/mythbackend/mythbackend.pro
Expand Up @@ -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
Expand All @@ -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

Expand Down
49 changes: 49 additions & 0 deletions mythtv/programs/mythbackend/serviceHosts/imageServiceHost.h
@@ -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

0 comments on commit 9b42c22

Please sign in to comment.