1ba5c3796Sopenharmony_ci/* 2ba5c3796Sopenharmony_ci * Copyright (c) 2022 Huawei Device Co., Ltd. 3ba5c3796Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License"); 4ba5c3796Sopenharmony_ci * you may not use this file except in compliance with the License. 5ba5c3796Sopenharmony_ci * You may obtain a copy of the License at 6ba5c3796Sopenharmony_ci * 7ba5c3796Sopenharmony_ci * http://www.apache.org/licenses/LICENSE-2.0 8ba5c3796Sopenharmony_ci * 9ba5c3796Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software 10ba5c3796Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS, 11ba5c3796Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12ba5c3796Sopenharmony_ci * See the License for the specific language governing permissions and 13ba5c3796Sopenharmony_ci * limitations under the License. 14ba5c3796Sopenharmony_ci */ 15ba5c3796Sopenharmony_ci 16ba5c3796Sopenharmony_ci#ifndef OHOS_MEMORY_MEMMGR_INNERKITS_BUNDLE_INFO_H 17ba5c3796Sopenharmony_ci#define OHOS_MEMORY_MEMMGR_INNERKITS_BUNDLE_INFO_H 18ba5c3796Sopenharmony_ci 19ba5c3796Sopenharmony_ci#include <string> 20ba5c3796Sopenharmony_ci 21ba5c3796Sopenharmony_ci#include "parcel.h" 22ba5c3796Sopenharmony_ci 23ba5c3796Sopenharmony_cinamespace OHOS { 24ba5c3796Sopenharmony_cinamespace Memory { 25ba5c3796Sopenharmony_ciclass BundlePriority { 26ba5c3796Sopenharmony_cipublic: 27ba5c3796Sopenharmony_ci BundlePriority(); 28ba5c3796Sopenharmony_ci BundlePriority(int32_t uid, std::string name, int32_t priority, int32_t accountId) : uid_(uid), name_(name), 29ba5c3796Sopenharmony_ci priority_(priority), accountId_(accountId) {}; 30ba5c3796Sopenharmony_ci int32_t uid_ {0}; 31ba5c3796Sopenharmony_ci std::string name_ {""}; 32ba5c3796Sopenharmony_ci int32_t priority_ {0}; 33ba5c3796Sopenharmony_ci int32_t accountId_ {0}; 34ba5c3796Sopenharmony_ci}; 35ba5c3796Sopenharmony_ci} // namespace Memory 36ba5c3796Sopenharmony_ci} // namespace OHOS 37ba5c3796Sopenharmony_ci#endif // OHOS_MEMORY_MEMMGR_INNERKITS_BUNDLE_INFO_H 38