2 * Copyright (c) 2012 - 2014 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.
18 #ifndef __ENCODE_AUTOPOPUP__CONFIGURE_H__
19 #define __ENCODE_AUTOPOPUP_CONFIGURE_H__
20 #include "imetadata_helper.h"
21 #include "resource_storage_impl.h"
22 // return value: the block size of this file
23 int encode_autopopup_configure_file(ResourceStorage& storage, IMetaData_Helper& metadata);
25 // return value: the size of this file
26 // para "offset" will added to the new offset by adding size
27 int encode_autopopup_configure_file(const char* file, int& offset, IMetaData_Helper& metadata);
28 int encode_autopopup_configure_file(const char* file, IMetaData_Helper& metadata);