SAL_OVERRIDE, Mac OS X sd redux
Change-Id: I9b2959bf77fc79bba2f4abb09681872f6d3a4300
This commit is contained in:
@@ -29,8 +29,8 @@ namespace sd
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
OSXBluetoothWrapper( IOBluetoothRFCOMMChannel* channel );
|
OSXBluetoothWrapper( IOBluetoothRFCOMMChannel* channel );
|
||||||
virtual sal_Int32 readLine( OString& aLine );
|
virtual sal_Int32 readLine( OString& aLine ) SAL_OVERRIDE;
|
||||||
virtual sal_Int32 write( const void* pBuffer, sal_uInt32 len );
|
virtual sal_Int32 write( const void* pBuffer, sal_uInt32 len ) SAL_OVERRIDE;
|
||||||
void appendData(void* pBuffer, size_t len );
|
void appendData(void* pBuffer, size_t len );
|
||||||
void channelClosed();
|
void channelClosed();
|
||||||
};
|
};
|
||||||
|
@@ -34,10 +34,10 @@ namespace sd {
|
|||||||
OSXNetworkService(const std::string& aname = "", unsigned int aport = 1599)
|
OSXNetworkService(const std::string& aname = "", unsigned int aport = 1599)
|
||||||
: ZeroconfService(aname, aport){}
|
: ZeroconfService(aname, aport){}
|
||||||
|
|
||||||
void clear() {
|
void clear() SAL_OVERRIDE {
|
||||||
[osxservice dealloc];
|
[osxservice dealloc];
|
||||||
}
|
}
|
||||||
void setup() {
|
void setup() SAL_OVERRIDE {
|
||||||
osxservice = [[OSXBonjourService alloc] init];
|
osxservice = [[OSXBonjourService alloc] init];
|
||||||
[osxservice publishImpressRemoteServiceOnLocalNetworkWithName: @""];
|
[osxservice publishImpressRemoteServiceOnLocalNetworkWithName: @""];
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user