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
701cfbd6
Kaydet (Commit)
701cfbd6
authored
Tem 31, 2015
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
avmedia: replace boost::function with std::function
Change-Id: I813d42a1ab494e0887791516606fddd342e21ff0
üst
9e90038b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
EventHandler.hxx
avmedia/source/vlc/wrapper/EventHandler.hxx
+3
-2
EventManager.hxx
avmedia/source/vlc/wrapper/EventManager.hxx
+3
-3
No files found.
avmedia/source/vlc/wrapper/EventHandler.hxx
Dosyayı görüntüle @
701cfbd6
...
@@ -9,7 +9,8 @@
...
@@ -9,7 +9,8 @@
#ifndef INCLUDED_AVMEDIA_SOURCE_VLC_WRAPPER_EVENTHANDLER_HXX
#ifndef INCLUDED_AVMEDIA_SOURCE_VLC_WRAPPER_EVENTHANDLER_HXX
#define INCLUDED_AVMEDIA_SOURCE_VLC_WRAPPER_EVENTHANDLER_HXX
#define INCLUDED_AVMEDIA_SOURCE_VLC_WRAPPER_EVENTHANDLER_HXX
#include <boost/function.hpp>
#include <functional>
#include <boost/noncopyable.hpp>
#include <boost/noncopyable.hpp>
#include <salhelper/thread.hxx>
#include <salhelper/thread.hxx>
#include "ThreadsafeQueue.hxx"
#include "ThreadsafeQueue.hxx"
...
@@ -30,7 +31,7 @@ namespace wrapper
...
@@ -30,7 +31,7 @@ namespace wrapper
virtual
void
SAL_CALL
run
()
SAL_OVERRIDE
;
virtual
void
SAL_CALL
run
()
SAL_OVERRIDE
;
public
:
public
:
typedef
boost
::
function
<
void
()
>
TCallback
;
typedef
std
::
function
<
void
()
>
TCallback
;
ThreadsafeQueue
<
TCallback
>
mCallbackQueue
;
ThreadsafeQueue
<
TCallback
>
mCallbackQueue
;
};
};
}
}
...
...
avmedia/source/vlc/wrapper/EventManager.hxx
Dosyayı görüntüle @
701cfbd6
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
#ifndef INCLUDED_AVMEDIA_SOURCE_VLC_WRAPPER_EVENTMANAGER_HXX
#ifndef INCLUDED_AVMEDIA_SOURCE_VLC_WRAPPER_EVENTMANAGER_HXX
#define INCLUDED_AVMEDIA_SOURCE_VLC_WRAPPER_EVENTMANAGER_HXX
#define INCLUDED_AVMEDIA_SOURCE_VLC_WRAPPER_EVENTMANAGER_HXX
#include <
boost/function.hpp
>
#include <
functional
>
#include <boost/noncopyable.hpp>
#include <boost/noncopyable.hpp>
#include "Player.hxx"
#include "Player.hxx"
...
@@ -29,7 +29,7 @@ namespace wrapper
...
@@ -29,7 +29,7 @@ namespace wrapper
public
:
public
:
static
bool
LoadSymbols
();
static
bool
LoadSymbols
();
typedef
boost
::
function
<
void
()
>
Callback
;
typedef
std
::
function
<
void
()
>
Callback
;
EventManager
(
Player
&
player
,
EventHandler
&
eh
);
EventManager
(
Player
&
player
,
EventHandler
&
eh
);
...
@@ -38,7 +38,7 @@ namespace wrapper
...
@@ -38,7 +38,7 @@ namespace wrapper
private
:
private
:
EventHandler
&
mEventHandler
;
EventHandler
&
mEventHandler
;
typedef
boost
::
function
<
void
()
>
TCallback
;
typedef
std
::
function
<
void
()
>
TCallback
;
libvlc_event_manager_t
*
mManager
;
libvlc_event_manager_t
*
mManager
;
TCallback
mOnPaused
;
TCallback
mOnPaused
;
TCallback
mOnEndReached
;
TCallback
mOnEndReached
;
...
...
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