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
951c986d
Kaydet (Commit)
951c986d
authored
May 06, 2015
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add a bit of documentation
Change-Id: Ie202c072ab10783c4030af280023795e498d2523
üst
0145fa21
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
5 deletions
+16
-5
lok.hxx
include/comphelper/lok.hxx
+16
-5
No files found.
include/comphelper/lok.hxx
Dosyayı görüntüle @
951c986d
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4
; fill-column: 100
-*- */
/*
* This file is part of the LibreOffice project.
*
...
...
@@ -12,24 +12,35 @@
#include <comphelper/comphelperdllapi.h>
// Interface between the LibreOfficeKit implementation called by LibreOfficeKit clients and other
// LibreOffice code.
namespace
comphelper
{
namespace
LibreOfficeKit
{
COMPHELPER_DLLPUBLIC
void
setActive
();
// Functions to be called only from the LibreOfficeKit implementation in desktop, not from other
// places in LibreOffice code.
COMPHELPER_DLLPUBLIC
bool
is
Active
();
COMPHELPER_DLLPUBLIC
void
set
Active
();
enum
class
statusIndicatorCallbackType
{
Start
,
SetValue
,
Finish
};
COMPHELPER_DLLPUBLIC
void
setStatusIndicatorCallback
(
void
(
*
callback
)(
void
*
data
,
statusIndicatorCallbackType
type
,
int
percent
),
void
*
data
);
COMPHELPER_DLLPUBLIC
void
statusIndicatorStart
();
COMPHELPER_DLLPUBLIC
void
statusIndicatorSetValue
(
int
percent
);
// Functions that can be called from arbitrary places in LibreOffice.
// Check whether the code is running as invoked through LibreOfficeKit.
COMPHELPER_DLLPUBLIC
bool
isActive
();
// Status indicator handling. Even if in theory there could be several status indicators active at
// the same time, in practice there is only one at a time, so we don't handle any identification of
// status indicator in this API.
COMPHELPER_DLLPUBLIC
void
statusIndicatorStart
();
COMPHELPER_DLLPUBLIC
void
statusIndicatorSetValue
(
int
percent
);
COMPHELPER_DLLPUBLIC
void
statusIndicatorFinish
();
}
...
...
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