remove dead code
parent
bf922d1fb7
commit
43a9b0772d
|
|
@ -2,8 +2,8 @@
|
||||||
! See http://factorcode.org/license.txt for BSD license.
|
! See http://factorcode.org/license.txt for BSD license.
|
||||||
USING: alien alien.c-types alien.strings alien.syntax
|
USING: alien alien.c-types alien.strings alien.syntax
|
||||||
combinators io.encodings.utf16n io.files io.pathnames kernel
|
combinators io.encodings.utf16n io.files io.pathnames kernel
|
||||||
windows windows.com windows.com.syntax windows.ole32
|
windows windows.com windows.com.syntax windows.user32
|
||||||
windows.user32 ;
|
windows.ole32 ;
|
||||||
IN: windows.shell32
|
IN: windows.shell32
|
||||||
|
|
||||||
CONSTANT: CSIDL_DESKTOP HEX: 00
|
CONSTANT: CSIDL_DESKTOP HEX: 00
|
||||||
|
|
@ -88,9 +88,6 @@ ALIAS: ShellExecute ShellExecuteW
|
||||||
: open-in-explorer ( dir -- )
|
: open-in-explorer ( dir -- )
|
||||||
f "open" rot (normalize-path) f f SW_SHOWNORMAL ShellExecute drop ;
|
f "open" rot (normalize-path) f f SW_SHOWNORMAL ShellExecute drop ;
|
||||||
|
|
||||||
: shell32-error ( n -- )
|
|
||||||
ole32-error ; inline
|
|
||||||
|
|
||||||
: shell32-directory ( n -- str )
|
: shell32-directory ( n -- str )
|
||||||
f swap f SHGFP_TYPE_DEFAULT
|
f swap f SHGFP_TYPE_DEFAULT
|
||||||
MAX_UNICODE_PATH "ushort" <c-array>
|
MAX_UNICODE_PATH "ushort" <c-array>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue