* Adding LoggingConsumer to build, which is a demo addon provided by Be and included into Cortex once
* This is the first Addon inside Haiku which uses StartControlPanel(), which will be submitted later on. * Cleaned up warnings git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24664 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
df06c6d8c0
commit
81fa5e8026
@ -4,4 +4,5 @@ SetSubDirSupportedPlatformsBeOSCompatible ;
|
||||
|
||||
SubInclude HAIKU_TOP src apps cortex addons AudioAdapter ;
|
||||
SubInclude HAIKU_TOP src apps cortex addons Flanger ;
|
||||
SubInclude HAIKU_TOP src apps cortex addons LoggingConsumer ;
|
||||
|
||||
|
15
src/apps/cortex/addons/LoggingConsumer/Jamfile
Normal file
15
src/apps/cortex/addons/LoggingConsumer/Jamfile
Normal file
@ -0,0 +1,15 @@
|
||||
SubDir HAIKU_TOP src apps cortex addons LoggingConsumer ;
|
||||
|
||||
SubDirHdrs [ FDirName $(HAIKU_TOP) src apps cortex addons common ] ;
|
||||
SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src apps cortex addons common ] ;
|
||||
|
||||
Application cortex_logging_consumer.media_addon :
|
||||
LoggingConsumerApp.cpp
|
||||
LoggingConsumerAddOn.cpp
|
||||
MediaNodeControlApp.cpp
|
||||
NodeHarnessApp.cpp
|
||||
NodeHarnessWin.cpp
|
||||
LogWriter.cpp
|
||||
LoggingConsumer.cpp
|
||||
: be media
|
||||
;
|
@ -105,7 +105,7 @@ class LogWriter
|
||||
{
|
||||
public:
|
||||
// Set: output for the log_what members is disabled
|
||||
typedef set<log_what> FilterSet;
|
||||
typedef std::set<log_what> FilterSet;
|
||||
|
||||
public:
|
||||
LogWriter(const entry_ref& logRef);
|
||||
|
@ -66,7 +66,6 @@ LoggingConsumer::LoggingConsumer(
|
||||
BBufferConsumer(B_MEDIA_UNKNOWN_TYPE),
|
||||
BControllable(),
|
||||
BMediaEventLooper(),
|
||||
m_pAddOn(pAddOn),
|
||||
mLogRef(logFile),
|
||||
mWeb(NULL),
|
||||
mLateBuffers(0),
|
||||
@ -75,7 +74,8 @@ LoggingConsumer::LoggingConsumer(
|
||||
mPriority(B_URGENT_DISPLAY_PRIORITY), // !!! testing; will be B_REAL_TIME_PRIORITY for release
|
||||
mLastLatencyChange(0),
|
||||
mLastSpinChange(0),
|
||||
mLastPrioChange(0)
|
||||
mLastPrioChange(0),
|
||||
m_pAddOn(pAddOn)
|
||||
{
|
||||
// spin off the logging thread
|
||||
mLogger = new LogWriter(logFile);
|
||||
|
@ -94,4 +94,4 @@ status_t LoggingConsumerAddOn::GetConfigurationFor(
|
||||
return B_OK;
|
||||
}
|
||||
|
||||
// END -- LoggingConsumerAddOn.cpp
|
||||
// END -- LoggingConsumerAddOn.cpp
|
||||
|
@ -27,4 +27,4 @@ int main(int argc, char** argv) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// END -- LoggingConsumerApp.cpp --
|
||||
// END -- LoggingConsumerApp.cpp --
|
||||
|
Loading…
Reference in New Issue
Block a user