2 * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
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 * @author Lukasz Marek (l.marek@samsung.com)
22 #ifndef _ABSTRACT_LAYER_IEVENT_GET_NUMBER_OF_LOGS_H_
23 #define _ABSTRACT_LAYER_IEVENT_GET_NUMBER_OF_LOGS_H_
25 #include <dpl/shared_ptr.h>
26 #include <commons/IEvent.h>
28 #include "LogFilter.h"
30 namespace WrtPlugins {
32 class IEventGetNumberOfLogs : public WrtPlugins::Platform::IEvent<
33 IEventGetNumberOfLogs>
37 LogFilterPtr m_filter;
39 void setFilter(LogFilterPtr value)
43 LogFilterPtr getFilter() const
47 void setNumberOfLogs(int value)
49 m_numberOfLogs = value;
51 int getNumberOfLogs() const
53 return m_numberOfLogs;
55 void setResult(bool value)
59 bool getResult() const
63 virtual void clearOnCancel()
66 IEventGetNumberOfLogs() : m_result(false),
70 ~IEventGetNumberOfLogs()
75 typedef DPL::SharedPtr<IEventGetNumberOfLogs> IEventGetNumberOfLogsPtr;
79 #endif /* _ABSTRACT_LAYER_IEVENT_GET_NUMBER_OF_LOGS_H_ */