2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 // Licensed under the Apache License, Version 2.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
8 // http://www.apache.org/licenses/LICENSE-2.0
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.
17 * @file FScl_CalendarbookRecordRetrivalThread.h
18 * @brief This is the header file for the _CalendarbookRecordRetrivalThread class.
20 * This file contains the declarations of _CalendarbookRecordRetrivalThread.
23 #ifndef _FSCL_INTERNAL_CALENDARBOOK_RECORD_RETRIVAL_THREAD_H_
24 #define _FSCL_INTERNAL_CALENDARBOOK_RECORD_RETRIVAL_THREAD_H_
26 #include <unique_ptr.h>
27 #include <FBaseTypes.h>
28 #include <FBaseDataType.h>
29 #include <FBaseObject.h>
30 #include <FBaseDateTime.h>
31 #include <FBaseRtThread.h>
32 #include <FLclTimeZone.h>
34 namespace Tizen { namespace Social
37 class _CalendarbookRecordRetrivalEvent;
39 class _CalendarbookRecordRetrivalThread
40 : public Tizen::Base::Runtime::Thread
44 * The object is not fully constructed after this constructor is called. For full construction, @n
45 * the Construct() method must be called right after calling this constructor.
49 _CalendarbookRecordRetrivalThread(void);
52 * This destructor overrides Tizen::Base::Runtime::Thread::~Thread().
54 virtual ~_CalendarbookRecordRetrivalThread(void);
56 result Construct(RequestId requestId, _CalendarbookRecordRetrivalEvent& event
57 , const Tizen::Base::DateTime& start, const Tizen::Base::DateTime& end, const Tizen::Locales::TimeZone& timeZone
58 , int pageNo, int countPerPage, unsigned long category);
60 virtual Tizen::Base::Object* Run(void);
63 RequestId __requestId;
64 std::unique_ptr<_CalendarbookRecordRetrivalEvent> __pEvent;
65 Tizen::Base::DateTime __start;
66 Tizen::Base::DateTime __end;
67 Tizen::Locales::TimeZone __timeZone;
70 unsigned long __category;
72 }; // _CalendarbookRecordRetrivalThread
76 #endif // _FSCL_INTERNAL_CALENDARBOOK_RECORD_RETRIVAL_THREAD_H_