myxlib/examples/filesystem/01_minimal/minimal.cpp

23 lines
373 B
C++
Raw Normal View History

2019-11-25 12:08:34 +00:00
#include <myx/base/config.hpp>
#include <myx/filesystem/paths.hpp>
2019-11-25 12:08:34 +00:00
#include <QCoreApplication>
namespace MF = myx::filesystem;
int main( int argc, char** argv )
{
(void)argc;
(void)argv;
2019-11-25 12:08:34 +00:00
QCoreApplication::setApplicationName( PROJECT_NAME );
MF::Paths paths;
paths.updatePaths();
paths.makeDefaultDirectories();
paths.findConfigFile( "test" );
return( 0 );
}