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
ca406568
Kaydet (Commit)
ca406568
authored
Ara 17, 2013
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Do not use Boost in SDK examples
Change-Id: I8b2af447fe3ee29261e538a53b4624ff8b6c4d1e
üst
2ac31b06
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
ListenerHelper.h
odk/examples/cpp/complextoolbarcontrols/ListenerHelper.h
+3
-6
No files found.
odk/examples/cpp/complextoolbarcontrols/ListenerHelper.h
Dosyayı görüntüle @
ca406568
...
...
@@ -17,8 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <map>
#include <vector>
#include <boost/unordered_map.hpp>
#include <com/sun/star/frame/XFrame.hpp>
#include <com/sun/star/frame/XStatusListener.hpp>
...
...
@@ -29,14 +29,11 @@
typedef
std
::
vector
<
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
frame
::
XStatusListener
>
>
StatusListeners
;
typedef
boost
::
unordered_map
<
::
rtl
::
OUString
,
StatusListeners
,
rtl
::
OUStringHash
,
std
::
equal_to
<
rtl
::
OUString
>
>
ListenerMap
;
typedef
std
::
map
<
::
rtl
::
OUString
,
StatusListeners
>
ListenerMap
;
// For every frame there is *one* Dispatch object for all possible commands
// this struct contains an array of listeners for every supported command
// these arrays are accessed by a
boost::unordered_
map (with the command string as index)
// these arrays are accessed by a
std::
map (with the command string as index)
struct
ListenerItem
{
ListenerMap
aContainer
;
...
...
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