git-svn-id: svn://ultimatepp.org/upp/trunk@9514 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2016-02-22 09:52:59 +00:00
parent 883184617d
commit 6a4d7a10f6
4 changed files with 63 additions and 1 deletions

View file

@ -78,6 +78,16 @@ void Autocomplete()
x.SetFilter(Char
}
void Autocomplete()
{
Vector<String>::
}
void Autocomplete()
{
for(int i = 0; i < Font::
}
void Autocomplete()
{
Point p;
@ -255,7 +265,7 @@ void Autocomplete()
{
VectorMap<Point, String> m;
auto i = m.KeyBegin();
i.
i->
}
void Autocomplete()

View file

@ -0,0 +1,39 @@
#include <Core/Core.h>
using namespace Upp;
CONSOLE_APP_MAIN
{
DUMP(GetWindowsDirectory());
DUMP(GetModuleFileName(LoadLibrary("kernel32")));
DUMP(GetTempPath());
DUMP(GetCurrentDirectory());
DUMP(GetComputerName());
DUMP(GetUserName());
DUMP(GetDesktopManager());
DUMP(GetDesktopFolder());
DUMP(GetProgramsFolder());
#ifdef PLATFORM_WIN32
DUMP(GetProgramsFolderX86());
#endif
DUMP(GetAppDataFolder());
DUMP(GetMusicFolder());
DUMP(GetPicturesFolder());
DUMP(GetVideoFolder());
DUMP(GetDocumentsFolder());
DUMP(GetTemplatesFolder());
DUMP(GetDownloadFolder());
String h = GetExeFilePath();
SetCurrentDirectory(GetFileFolder(h));
DUMP(GetFullPath(GetFileName(h)));
for(FindFile ff(GetFileFolder(h) + "/*.*"); ff; ff.Next()) {
DUMP(ff.GetPath());
DUMP(ff.GetLength());
DUMP(ff.IsFolder());
}
}

View file

@ -0,0 +1,9 @@
uses
Core;
file
SysPathInfo.cpp;
mainconfig
"" = "";

4
upptst/SysPathInfo/init Normal file
View file

@ -0,0 +1,4 @@
#ifndef _SysPathInfo_icpp_init_stub
#define _SysPathInfo_icpp_init_stub
#include "Core/init"
#endif