diff -r 8b2d6d0384b0 -r d9aefe59d544 camerauis/cameraapp/generic/src/CamServer.cpp --- a/camerauis/cameraapp/generic/src/CamServer.cpp Tue Feb 02 00:01:39 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,63 +0,0 @@ -/* -* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: Main application server class.* -*/ - - -// INCLUDE FILES -#include "CamServer.h" -#include -#include - -#include -#include -#include "CamNewFileService.h" - -#include "CamUtility.h" - - -// ================= MEMBER FUNCTIONS ======================= - -// --------------------------------------------------------------------------- -// CCamAppServer::CreateServiceL -// Creates new file service object. -// --------------------------------------------------------------------------- -// -CApaAppServiceBase* CCamAppServer::CreateServiceL(TUid aServiceType) const - { - if ( aServiceType == TUid::Uid( NEWSERVICEUID ) )// Service UID - { - PRINT( _L( "Camera: CCamAppServer:CreateServiceL()" ) ); - CCamNewFileService* service = CCamNewFileService::NewL(); - iNewFileServiceObserver = service; - return service; - } - else - { - return CAknAppServer::CreateServiceL(aServiceType); - } - } - -// --------------------------------------------------------------------------- -// CCamAppServer::NewFileServiceObserver -// Returns pointer to new file sevice object. -// --------------------------------------------------------------------------- -// -MNewFileServiceObserver* CCamAppServer::NewFileServiceObserver() const - { - return iNewFileServiceObserver; - } - -// End of File -