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.
16 #ifndef WRTPLUGINS_GALLERY_IVIEWPROPERTIES_H_
17 #define WRTPLUGINS_GALLERY_IVIEWPROPERTIES_H_
21 namespace WrtPlugins {
48 SortOrder m_primarySortOrder;
49 SortOrder m_secondarySortOrder;
52 std::string m_metaTag;
55 SortType getSortOrder() const;
56 std::string getMetaTag() const;
57 SortOrder getPrimarySortOrder() const;
58 SortOrder getSecondarySortOrder() const;
59 unsigned long getStartDate() const;
60 unsigned long getEndDate() const;
62 void setSortOrder(SortType order);
63 void setMetaTag(const std::string &metaTag);
64 void setPrimarySortOrder(SortOrder primarySortOrder);
65 void setSecondarySortOrder(SortOrder secondarySortOrder);
66 void setStartDate(long startDate);
67 void setEndDate(long endDate);
75 #endif //WRTPLUGINS_GALLERY_IVIEWPROPERTIES_H_