Profile: move locators to their own header.
This commit is contained in:
parent
a310669839
commit
ae2a613879
3 changed files with 25 additions and 5 deletions
|
@ -59,6 +59,7 @@ add_executable(wxMASSManager WIN32
|
|||
MassBuilderManager/MassBuilderManager.cpp
|
||||
MassManager/MassManager.h
|
||||
MassManager/MassManager.cpp
|
||||
Profile/Locators.h
|
||||
Profile/Profile.h
|
||||
Profile/Profile.cpp
|
||||
ProfileManager/ProfileManager.h
|
||||
|
|
23
Profile/Locators.h
Normal file
23
Profile/Locators.h
Normal file
|
@ -0,0 +1,23 @@
|
|||
// wxMASSManager
|
||||
// Copyright (C) 2020 Guillaume Jacquemin
|
||||
//
|
||||
// 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
|
||||
|
||||
constexpr char company_name_locator[] = "CompanyName\0\x0c\0\0\0StrProperty";
|
||||
constexpr char active_slot_locator[] = "ActiveFrameSlot\0\x0c\0\0\0IntProperty";
|
||||
constexpr char credits_locator[] = "Credit\0\x0c\0\0\0IntProperty";
|
||||
constexpr char story_progress_locator[] = "StoryProgress\0\x0c\0\0\0IntProperty";
|
||||
constexpr char last_mission_id_locator[] = "LastMissionID\0\x0c\0\0\0IntProperty";
|
|
@ -32,11 +32,7 @@
|
|||
|
||||
#include "Profile.h"
|
||||
|
||||
constexpr char company_name_locator[] = "CompanyName\0\x0c\0\0\0StrProperty";
|
||||
constexpr char active_slot_locator[] = "ActiveFrameSlot\0\x0c\0\0\0IntProperty";
|
||||
constexpr char credits_locator[] = "Credit\0\x0c\0\0\0IntProperty";
|
||||
constexpr char story_progress_locator[] = "StoryProgress\0\x0c\0\0\0IntProperty";
|
||||
constexpr char last_mission_id_locator[] = "LastMissionID\0\x0c\0\0\0IntProperty";
|
||||
#include "Locators.h"
|
||||
|
||||
using namespace Corrade;
|
||||
|
||||
|
|
Loading…
Reference in a new issue