Skip to content

Commit

Permalink
draft
Browse files Browse the repository at this point in the history
  • Loading branch information
igagis committed Aug 28, 2024
1 parent 522094d commit d3ea70d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ jobs:
run: make config=asan
- name: test
run: make config=asan test
##### linux #####
linux:
##### deb linux #####
deb:
strategy:
fail-fast: false
matrix:
Expand Down
13 changes: 13 additions & 0 deletions src/ruisapp/application.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,19 @@ class application : public utki::intrusive_singleton<application>
*/
const std::string storage_dir;

struct directories {
std::string config;
std::string state;

// constructor to make it obligatory to explicitly initialize fields
directories(std::string config, std::string state) :
config(std::move(config)),
state(std::move(state))
{}
};

const directories directory;

private:
// TODO: make it window rectangle and track vieport separately,
// use top-left coordinate system
Expand Down

0 comments on commit d3ea70d

Please sign in to comment.