Add new string and adapt coding idiom
[apps/osp/Gallery.git] / inc / GlFileUpdateTimer.h
1 //
2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
3 //
4 // Licensed under the Flora License, Version 1.0 (the License);
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
7 //
8 //     http://floralicense.org/license/
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an AS IS BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15 //
16
17 /**
18  * @file                FileUpdateTimer.h
19  * @brief               This is the header file for FileUpdateTimer class.
20  */
21 #ifndef _GL_FILE_UPDATE_TIMER_H_
22 #define _GL_FILE_UPDATE_TIMER_H_
23
24 #include "GlIContentFileUpdateManager.h"
25 #include "GlTimerBase.h"
26
27 class FileListPresentationModel;
28
29 class FileUpdateTimer
30         : public GlTimerBase
31 {
32 public:
33         FileUpdateTimer(Tizen::Base::Collection::IList*, IContentFileUpdateManager*, IFileOpInvalidateListener*, FileActionMode, RotateMode rotateMode = ROTATE_MODE_RIGHT);
34         virtual ~FileUpdateTimer(void);
35
36 private:
37         virtual Tizen::Base::Collection::IList * TimerStart(void);
38         virtual result TimerExpired(const Object* contentId);
39         virtual void TimerCancel(int, enum FileActionCancelRes res);
40         virtual void TimerComplete(int, enum FileActionCompleteRes res);
41
42 private :
43         Tizen::Base::Collection::IList* __pUpdateIndexList;
44         IContentFileUpdateManager* __pFileUpdateManager;
45         RotateMode __rotateMode;
46 };
47
48 #endif // _GL_FILE_UPDATE_TIMER_H_