summaryrefslogtreecommitdiff
path: root/src/corelib/gdi/gfx_utils_impl.inc
diff options
context:
space:
mode:
authorgraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-09-27 18:24:54 +0000
committergraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-09-27 18:24:54 +0000
commit8eb1030c56d6a1228d3145b247f75c733576e511 (patch)
treeb07af847fe22e6ea153e1c0088a257f72dd9f02f /src/corelib/gdi/gfx_utils_impl.inc
parent1c50f4279f89d41dd1d85964645217860f5c0b9c (diff)
downloadfpGUI-8eb1030c56d6a1228d3145b247f75c733576e511.tar.xz
* Rename all corelib units to the new naming convention.
* Updated the UI Designer to use the new unit names.
Diffstat (limited to 'src/corelib/gdi/gfx_utils_impl.inc')
-rw-r--r--src/corelib/gdi/gfx_utils_impl.inc26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/corelib/gdi/gfx_utils_impl.inc b/src/corelib/gdi/gfx_utils_impl.inc
deleted file mode 100644
index 3862dc23..00000000
--- a/src/corelib/gdi/gfx_utils_impl.inc
+++ /dev/null
@@ -1,26 +0,0 @@
-{%mainunit gfx_utils.pas}
-
-uses
- Registry, Shellapi;
-
-// GDI specific implementations of encoding functions
-
-function fpgToOSEncoding(aString: TfpgString): string;
-begin
- Result := Utf8ToAnsi(aString);
-end;
-
-function fpgFromOSEncoding(aString: string): TfpgString;
-begin
- Result := AnsiToUtf8(aString);
-end;
-
-procedure fpgOpenURL(const aURL: TfpgString);
-begin
- try
- ShellExecute(0, 'open', PChar(aURL), nil, nil, 0) ;
- except
- // do nothing
- end;
-end;
-