plugin/poi/landmarks/provider/inc/Loader.h
changeset 0 c316ab048e9d
equal deleted inserted replaced
-1:000000000000 0:c316ab048e9d
       
     1 /*
       
     2  * Name        : Loader.h
       
     3  * Description : 
       
     4  * Project     : This file is part of OpenMAR, an Open Mobile Augmented Reality browser
       
     5  * Website     : http://OpenMAR.org
       
     6  *
       
     7  * Copyright (c) 2010 David Caabeiro
       
     8  *
       
     9  * All rights reserved. This program and the accompanying materials are made available 
       
    10  * under the terms of the Eclipse Public License v1.0 which accompanies this 
       
    11  * distribution, and is available at http://www.eclipse.org/legal/epl-v10.html
       
    12  *
       
    13  */
       
    14 
       
    15 #ifndef LOADER_H_
       
    16 #define LOADER_H_
       
    17 
       
    18 #include <e32base.h>
       
    19 
       
    20 class CPosLandmark;
       
    21 class TCoordinate;
       
    22 
       
    23 class MLandmarkLoaderObserver
       
    24 {
       
    25 public:
       
    26     virtual void LandmarkLoaderOpenedL(TInt aError) = 0;
       
    27     virtual void LandmarkLoaderItemCreatedL(const CPosLandmark& aLandmark) = 0;
       
    28     virtual void LandmarkLoaderItemUpdatedL(const CPosLandmark& aLandmark) = 0;
       
    29     virtual void LandmarkLoaderItemDeletedL(const CPosLandmark& aLandmark) = 0;
       
    30 };
       
    31 
       
    32 /**
       
    33  * @brief Interface for landmark loader
       
    34  */
       
    35 class MLandmarkLoader
       
    36 {
       
    37 public:
       
    38     virtual ~MLandmarkLoader() = 0;
       
    39 
       
    40     virtual void RequestL(const TCoordinate& aCoordinate, TReal32 aRadius) = 0;
       
    41 };
       
    42 
       
    43 inline MLandmarkLoader::~MLandmarkLoader()
       
    44 {}
       
    45 
       
    46 #endif