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

23 lines
373 B
C++

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