/*
 * Copyright (C) 2020, KylinSoft Co., Ltd.
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */

#pragma once
#include <QString>

#define APPLICATION_NAME "用户手册"
#define APPLICATION_NAME_EN "Manual"
#define APPLICATION_NAME_BO "ལག་སྒུལ།"
#define APPLICATION_NAME_HK "用戶手冊"
#define APPLICATION_NAME_KK "پايدالانۋشٸلارقولدانباسى"
#define APPLICATION_NAME_KG "ىشتەتكۉۉچۉلۅرقولدونموسۇ"
#define APPLICATION_NAME_UG "ئىشلەتكۈچىلەرقوللانمىسى"
#define GUIDE_WINDOW_TITLE "用户手册"

#define SERVICE_NAME_SIZE 64
//daemon监听app的调用传给GUI
#define KYLIN_USER_GUIDE_PATH "/"
#define KYLIN_USER_GUIDE_SERVICE "com.kylinUserGuide.hotel"
#define KYLIN_USER_GUIDE_INTERFACE "com.guide.hotel"

#define KYLIN_USER_GUIDE_GUI_PATH "/"
#define KYLIN_USER_GUIDE_GUI_SERVICE "com.kylinUserGuideGUI.hotel"
#define KYLIN_USER_GUIDE_GUI_INTERFACE "com.guide.hotel"

#define SYSTEM_FILE "/etc/os-release"
#define OS_RELEASE "/etc/os-release"
#define LSB_RELEASE "/etc/lsb-release"

#define QEVENT_KEYPRESS 6

#define LOCAL_FILE_PATH "/usr/share/kylin-user-guide/data/guide/"
#define LOCAL_URL_PATH "file://///usr/share/kylin-user-guide/web/"


#define LOCAL_FILE_PATH_UBUNTUKYLIN "/usr/share/kylin-user-guide/data/guide/"
#define LOCAL_URL_PATH_UBUNTUKYLIN "file://///usr/share/kylin-user-guide/web/"

extern QString gLang;
extern QString gStartShowApp;
extern QStringList pathList;

#define NEWFUNCTION_INTRODUCE_WIDTH 1096
#define NEWFUNCTION_INTRODUCE_HEIGHT 648
