Skip to content

LUS Cleanup: Merge Window and GlobalCtx2 classes.#1259

Merged
Kenix3 merged 8 commits intoHarbourMasters:develop-zhorafrom
Kenix3:lus_cleanup_20
Aug 22, 2022
Merged

LUS Cleanup: Merge Window and GlobalCtx2 classes.#1259
Kenix3 merged 8 commits intoHarbourMasters:develop-zhorafrom
Kenix3:lus_cleanup_20

Conversation

@Kenix3
Copy link
Collaborator

@Kenix3 Kenix3 commented Aug 19, 2022

No description provided.

@Kenix3 Kenix3 changed the title Rebasing develop-zhora LUS Cleanup: Merge Window and GlobalCtx2 classes. Aug 19, 2022
Copy link
Contributor

@briaguya0 briaguya0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good overall

just gotta make sure jenkins is happy across all platforms

Comment on lines +305 to +308
FolderManager folderManager;
std::string fpath = std::string(folderManager.pathForDirectory(NSApplicationSupportDirectory, NSUserDomainMask));
fpath.append("/com.shipofharkinian.soh");
return fpath;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these lines match up with jenkins being mad

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dcvz any chance you could pull this branch and work through these mac errors?

15:31:48  /Users/jenkins/workspace/SoH_Multibranch_PR-1259/libultraship/libultraship/Window.cpp:305:9: error: unknown type name 'FolderManager'
15:31:48          FolderManager folderManager;
15:31:48          ^
15:31:48  /Users/jenkins/workspace/SoH_Multibranch_PR-1259/libultraship/libultraship/Window.cpp:306:72: error: use of undeclared identifier 'NSApplicationSupportDirectory'
15:31:48          std::string fpath = std::string(folderManager.pathForDirectory(NSApplicationSupportDirectory, NSUserDomainMask));
15:31:48                                                                         ^
15:31:48  /Users/jenkins/workspace/SoH_Multibranch_PR-1259/libultraship/libultraship/Window.cpp:306:103: error: use of undeclared identifier 'NSUserDomainMask'
15:31:48          std::string fpath = std::string(folderManager.pathForDirectory(NSApplicationSupportDirectory, NSUserDomainMask));
15:31:48                                                                                                        ^
15:31:48  3 errors generated.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left you a comment on the line I think you’re missing

#include "spdlog/sinks/stdout_color_sinks.h"
#include "spdlog/sinks/sohconsole_sink.h"
#ifdef __APPLE__
#include "OSXFolderManager.h"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@briaguya-ai im on my mobile and haven’t been able to verify on machine but I think you’re missing this import.

@Kenix3 Kenix3 merged commit 51e4485 into HarbourMasters:develop-zhora Aug 22, 2022
Kenix3 added a commit to Kenix3/Shipwright that referenced this pull request Oct 19, 2022
* Merges GlobalCtx2 and Window classes.

* Includes condition variable in File.

* add mac specific include

* sstream to get past "implicit instantiation of undefined template" error

* switch/wiiu includes

* that file doesn't exist

* more wii u globalctx2 stuff

Co-authored-by: briaguya <briaguya@alice>
dcvz pushed a commit to briaguya0/Shipwright that referenced this pull request Nov 12, 2022
* Merges GlobalCtx2 and Window classes.

* Includes condition variable in File.

* add mac specific include

* sstream to get past "implicit instantiation of undefined template" error

* switch/wiiu includes

* that file doesn't exist

* more wii u globalctx2 stuff

Co-authored-by: briaguya <briaguya@alice>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants