Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
fe890193
Kaydet (Commit)
fe890193
authored
Nis 30, 2011
tarafından
Francois Tigeot
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove OS/2 support
üst
601047eb
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
4 additions
and
76 deletions
+4
-76
npshell.cxx
extensions/source/nsplugin/source/npshell.cxx
+0
-4
makefile.mk
extensions/source/oooimprovecore/makefile.mk
+0
-3
errormail.cxx
extensions/source/oooimprovement/errormail.cxx
+2
-4
makefile.mk
extensions/source/oooimprovement/makefile.mk
+0
-3
xplugin.cxx
extensions/source/plugin/base/xplugin.cxx
+1
-1
impl.hxx
extensions/source/plugin/inc/plugin/impl.hxx
+0
-2
makefile.mk
extensions/source/scanner/makefile.mk
+1
-1
twain.cxx
extensions/source/scanner/twain.cxx
+0
-52
twain.hxx
extensions/source/scanner/twain.hxx
+0
-6
No files found.
extensions/source/nsplugin/source/npshell.cxx
Dosyayı görüntüle @
fe890193
...
...
@@ -29,10 +29,6 @@
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_extensions.hxx"
#ifdef OS2
#define UNIX
#endif
#ifdef UNIX
#define XP_UNIX 1
...
...
extensions/source/oooimprovecore/makefile.mk
Dosyayı görüntüle @
fe890193
...
...
@@ -48,9 +48,6 @@ LIB1FILES= \
$(SLB)$/$(TARGET)
.lib
\
SHL1TARGET
=
$(TARGET)$(DLLPOSTFIX)
.IF
"$(GUI)"
==
"OS2"
SHL1TARGET
=
oooimpc
$(DLLPOSTFIX)
.ENDIF
SHL1STDLIBS
=
\
$(COMPHELPERLIB)
\
...
...
extensions/source/oooimprovement/errormail.cxx
Dosyayı görüntüle @
fe890193
...
...
@@ -35,7 +35,7 @@
#include <rtl/string.hxx>
#include <rtl/strbuf.hxx>
#if defined(UNIX)
|| defined(OS2)
#if defined(UNIX)
#include <sys/utsname.h>
#endif
#ifdef WIN32
...
...
@@ -81,14 +81,12 @@ namespace {
return
"Win32"
;
#elif defined UNIX
return
"Unix"
;
#elif defined OS2
return
"OS/2"
;
#else
return
"Unknown"
;
#endif
};
#if defined(UNIX)
|| defined(OS2)
#if defined(UNIX)
static
const
OString
getLocale
()
{
const
char
*
locale
=
getenv
(
"LC_ALL"
);
...
...
extensions/source/oooimprovement/makefile.mk
Dosyayı görüntüle @
fe890193
...
...
@@ -66,9 +66,6 @@ SHL1STDLIBS= \
$(UNOTOOLSLIB)
\
SHL1TARGET
=
$(TARGET)$(DLLPOSTFIX)
.IF
"$(GUI)"
==
"OS2"
SHL1TARGET
=
oooimp
$(DLLPOSTFIX)
.ENDIF
SHL1LIBS
=
$(SLB)$/$(TARGET)
.lib
SHL1DEF
=
$(MISC)$/$(SHL1TARGET)
.def
...
...
extensions/source/plugin/base/xplugin.cxx
Dosyayı görüntüle @
fe890193
...
...
@@ -546,7 +546,7 @@ void XPlugin_Impl::loadPlugin()
sv
[
0
],
sv
[
1
]
);
#elif
(defined WNT || defined OS2)
#elif
defined WNT
PluginComm
*
pComm
=
new
PluginComm_Impl
(
m_aDescription
.
Mimetype
,
m_aDescription
.
PluginName
,
(
HWND
)
pEnvData
->
hWnd
);
...
...
extensions/source/plugin/inc/plugin/impl.hxx
Dosyayı görüntüle @
fe890193
...
...
@@ -75,8 +75,6 @@
#ifdef WNT
#include <plugin/win/sysplug.hxx>
#elif defined(OS2)
#include "plugin/os2/sysplug.hxx"
#elif defined(QUARTZ)
#include "plugin/aqua/sysplug.hxx"
#elif defined(UNX)
...
...
extensions/source/scanner/makefile.mk
Dosyayı görüntüle @
fe890193
...
...
@@ -46,7 +46,7 @@ SLOFILES+=\
$(SLO)$/
scanwin.obj
.ENDIF
.IF
"$(GUI)"
==
"UNX"
||
"$(GUI)"
==
"OS2"
.IF
"$(GUI)"
==
"UNX"
SLOFILES
+=
\
$(SLO)$/
sane.obj
\
$(SLO)$/
sanedlg.obj
\
...
...
extensions/source/scanner/twain.cxx
Dosyayı görüntüle @
fe890193
...
...
@@ -35,9 +35,6 @@
#if defined( WNT )
#include <windows.h>
#endif
#ifdef OS2
#include <svpm.h>
#endif // OS2
#include <osl/module.hxx>
#include <tools/stream.hxx>
#include <vcl/svapp.hxx>
...
...
@@ -56,9 +53,6 @@
#if defined WNT
#define TWAIN_LIBNAME "TWAIN_32.DLL"
#define TWAIN_FUNCNAME "DSM_Entry"
#elif defined OS2
#define TWAIN_LIBNAME "twain"
#define TWAIN_FUNCNAME "DSM_ENTRY"
#endif
// -----------
...
...
@@ -71,18 +65,6 @@ static ImpTwain* pImpTwainInstance = NULL;
// - Procs -
// ---------
#ifdef OS2
#define PTWAINMSG QMSG*
MRESULT
EXPENTRY
TwainWndProc
(
HWND
hWnd
,
ULONG
nMsg
,
MPARAM
nParam1
,
MPARAM
nParam2
)
{
return
(
MRESULT
)
TRUE
;
}
#else // OS2
#define PTWAINMSG MSG*
// -------------------------------------------------------------------------
...
...
@@ -113,8 +95,6 @@ static ImpTwain* pImpTwainInstance = NULL;
}
}
#endif // OS2
// ------------
// - ImpTwain -
// ------------
...
...
@@ -142,14 +122,6 @@ ImpTwain::ImpTwain( const Link& rNotifyLink ) :
strcpy
(
aAppIdent
.
ProductFamily
,
"Office"
);
strcpy
(
aAppIdent
.
ProductName
,
"Office"
);
#ifdef OS2
hAB
=
Sysdepen
::
GethAB
();
ImplFallback
(
TWAIN_EVENT_QUIT
);
// hTwainWnd = WinCreateWindow( HWND_DESKTOP, WC_FRAME, "dummy", 0, 0, 0, 0, 0, HWND_DESKTOP, HWND_BOTTOM, 0, 0, 0 );
#else
HWND
hParentWnd
=
HWND_DESKTOP
;
WNDCLASS
aWc
=
{
0
,
&
TwainWndProc
,
0
,
sizeof
(
WNDCLASS
),
GetModuleHandle
(
NULL
),
NULL
,
NULL
,
NULL
,
NULL
,
"TwainClass"
};
...
...
@@ -157,8 +129,6 @@ ImpTwain::ImpTwain( const Link& rNotifyLink ) :
RegisterClass
(
&
aWc
);
hTwainWnd
=
CreateWindowEx
(
WS_EX_TOPMOST
,
aWc
.
lpszClassName
,
"TWAIN"
,
0
,
0
,
0
,
0
,
0
,
hParentWnd
,
NULL
,
aWc
.
hInstance
,
0
);
hTwainHook
=
SetWindowsHookEx
(
WH_GETMESSAGE
,
&
TwainMsgProc
,
NULL
,
GetCurrentThreadId
()
);
#endif
}
// -----------------------------------------------------------------------------
...
...
@@ -269,11 +239,6 @@ void ImpTwain::ImplOpenSource()
if
(
(
PFUNC
(
&
aAppIdent
,
NULL
,
DG_CONTROL
,
DAT_IDENTITY
,
MSG_GETDEFAULT
,
&
aSrcIdent
)
==
TWRC_SUCCESS
)
&&
(
PFUNC
(
&
aAppIdent
,
NULL
,
DG_CONTROL
,
DAT_IDENTITY
,
MSG_OPENDS
,
&
aSrcIdent
)
==
TWRC_SUCCESS
)
)
{
#ifdef OS2
// negotiate capabilities
#else
TW_CAPABILITY
aCap
=
{
CAP_XFERCOUNT
,
TWON_ONEVALUE
,
GlobalAlloc
(
GHND
,
sizeof
(
TW_ONEVALUE
)
)
};
TW_ONEVALUE
*
pVal
=
(
TW_ONEVALUE
*
)
GlobalLock
(
aCap
.
hContainer
);
...
...
@@ -282,7 +247,6 @@ void ImpTwain::ImplOpenSource()
GlobalUnlock
(
aCap
.
hContainer
);
PFUNC
(
&
aAppIdent
,
&
aSrcIdent
,
DG_CONTROL
,
DAT_CAPABILITY
,
MSG_SET
,
&
aCap
);
GlobalFree
(
aCap
.
hContainer
);
#endif
nCurState
=
4
;
}
...
...
@@ -387,11 +351,6 @@ void ImpTwain::ImplXfer()
case
(
TWRC_XFERDONE
):
{
#ifdef OS2
// get OS/2-Bitmap
#else // OS2
const
ULONG
nSize
=
GlobalSize
(
(
HGLOBAL
)
hDIB
);
char
*
pBuf
=
(
char
*
)
GlobalLock
(
(
HGLOBAL
)
hDIB
);
...
...
@@ -404,7 +363,6 @@ void ImpTwain::ImplXfer()
}
GlobalFree
(
(
HGLOBAL
)
hDIB
);
#endif // OS2
// set resolution of bitmap if neccessary
if
(
(
nXRes
!=
-
1
)
&&
(
nYRes
!=
-
1
)
&&
(
nWidth
!=
-
1
)
&&
(
nHeight
!=
-
1
)
)
...
...
@@ -506,14 +464,6 @@ IMPL_LINK( ImpTwain, ImplFallbackHdl, void*, pData )
IMPL_LINK
(
ImpTwain
,
ImplDestroyHdl
,
void
*
,
p
)
{
#ifdef OS2
if
(
hWndTwain
)
WinDestroyWindow
(
hWndTwain
);
// unset hook
#else
if
(
hTwainWnd
)
DestroyWindow
(
hTwainWnd
);
...
...
@@ -521,8 +471,6 @@ IMPL_LINK( ImpTwain, ImplDestroyHdl, void*, p )
if
(
hTwainHook
)
UnhookWindowsHookEx
(
hTwainHook
);
#endif
delete
this
;
pImpTwainInstance
=
NULL
;
...
...
extensions/source/scanner/twain.hxx
Dosyayı görüntüle @
fe890193
...
...
@@ -75,14 +75,8 @@ public:
sal_Bool
ImplHandleMsg
(
void
*
pMsg
);
#ifdef OS2
HAB
hAB
;
HWND
hTwainWnd
;
long
hTwainHook
;
#else
HWND
hTwainWnd
;
HHOOK
hTwainHook
;
#endif
public
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment