mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
.upptst
git-svn-id: svn://ultimatepp.org/upp/trunk@9514 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
883184617d
commit
6a4d7a10f6
4 changed files with 63 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
39
upptst/SysPathInfo/SysPathInfo.cpp
Normal file
39
upptst/SysPathInfo/SysPathInfo.cpp
Normal 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());
|
||||
}
|
||||
}
|
||||
9
upptst/SysPathInfo/SysPathInfo.upp
Normal file
9
upptst/SysPathInfo/SysPathInfo.upp
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
uses
|
||||
Core;
|
||||
|
||||
file
|
||||
SysPathInfo.cpp;
|
||||
|
||||
mainconfig
|
||||
"" = "";
|
||||
|
||||
4
upptst/SysPathInfo/init
Normal file
4
upptst/SysPathInfo/init
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
#ifndef _SysPathInfo_icpp_init_stub
|
||||
#define _SysPathInfo_icpp_init_stub
|
||||
#include "Core/init"
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue