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
fb3b9777
Kaydet (Commit)
fb3b9777
authored
Haz 01, 2012
tarafından
Matúš Kukan
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
extensions: bin unused source files
Change-Id: I134b1bd60552cb5c9b973a97501baf4b37473efe
üst
a9f170c1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
95 deletions
+0
-95
twain.cxx
extensions/source/scanner/twain.cxx
+0
-0
twain.hxx
extensions/source/scanner/twain.hxx
+0
-95
No files found.
extensions/source/scanner/twain.cxx
deleted
100644 → 0
Dosyayı görüntüle @
a9f170c1
This diff is collapsed.
Click to expand it.
extensions/source/scanner/twain.hxx
deleted
100644 → 0
Dosyayı görüntüle @
a9f170c1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* This file is part of OpenOffice.org.
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
*
************************************************************************/
#ifndef _TWAIN_HXX
#define _TWAIN_HXX
#include <osl/module.hxx>
#include <vcl/bitmap.hxx>
#include "twain/twain.h"
// -----------
// - Defines -
// -----------
#define TWAIN_SELECT 0x00000001UL
#define TWAIN_ACQUIRE 0x00000002UL
#define TWAIN_TERMINATE 0xFFFFFFFFUL
#define TWAIN_EVENT_NONE 0x00000000UL
#define TWAIN_EVENT_QUIT 0x00000001UL
#define TWAIN_EVENT_SCANNING 0x00000002UL
#define TWAIN_EVENT_XFER 0x00000004UL
// ------------
// - ImpTwain -
// ------------
class
ImpTwain
{
TW_IDENTITY
aAppIdent
;
TW_IDENTITY
aSrcIdent
;
Link
aNotifyLink
;
Bitmap
aBitmap
;
DSMENTRYPROC
pDSM
;
osl
::
Module
pMod
;
sal_uLong
nCurState
;
void
ImplCreate
();
void
ImplOpenSourceManager
();
void
ImplOpenSource
();
sal_Bool
ImplEnableSource
();
void
ImplXfer
();
void
ImplFallback
(
sal_uLong
nEvent
);
DECL_LINK
(
ImplFallbackHdl
,
void
*
);
DECL_LINK
(
ImplDestroyHdl
,
void
*
);
public
:
sal_Bool
ImplHandleMsg
(
void
*
pMsg
);
HWND
hTwainWnd
;
HHOOK
hTwainHook
;
public
:
ImpTwain
(
const
Link
&
rNotifyLink
);
~
ImpTwain
();
void
Destroy
();
sal_Bool
SelectSource
();
sal_Bool
InitXfer
();
Bitmap
GetXferBitmap
();
};
#endif // _TWAIN_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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