Loading...
Searching...
No Matches
Paths.h
Go to the documentation of this file.
1// Copyright (c) 2025 Dave R. Smith.
2// Malena Framework — Licensed under PolyForm Noncommercial 1.0.0; commercial use requires a paid license. See LICENSE.
3
4#pragma once
5#ifndef MALENA_UTILITIES_PATHS_H
6#define MALENA_UTILITIES_PATHS_H
7
9#include <string>
10
11namespace ml {
12
31{
32public:
41 static const std::string& resourceDir();
42
55 static std::string userDataDir(const std::string& appName);
56
58 static std::string join(const std::string& a, const std::string& b);
59
61 static const std::string& executablePath();
62};
63
64} // namespace ml
65
66#endif // MALENA_UTILITIES_PATHS_H
Where an installed app finds its assets and keeps its user data.
Definition Paths.h:31
static std::string join(const std::string &a, const std::string &b)
static const std::string & executablePath()
static const std::string & resourceDir()
static std::string userDataDir(const std::string &appName)
#define MALENA_API
Definition Animate.h:25