SAL_OVERRIDE, Mac OS X sd redux

Change-Id: I9b2959bf77fc79bba2f4abb09681872f6d3a4300
This commit is contained in:
Stephan Bergmann
2014-03-27 21:57:31 +01:00
parent b8b8520719
commit 65db69dd9c
2 changed files with 4 additions and 4 deletions

View File

@@ -29,8 +29,8 @@ namespace sd
public:
OSXBluetoothWrapper( IOBluetoothRFCOMMChannel* channel );
virtual sal_Int32 readLine( OString& aLine );
virtual sal_Int32 write( const void* pBuffer, sal_uInt32 len );
virtual sal_Int32 readLine( OString& aLine ) SAL_OVERRIDE;
virtual sal_Int32 write( const void* pBuffer, sal_uInt32 len ) SAL_OVERRIDE;
void appendData(void* pBuffer, size_t len );
void channelClosed();
};

View File

@@ -34,10 +34,10 @@ namespace sd {
OSXNetworkService(const std::string& aname = "", unsigned int aport = 1599)
: ZeroconfService(aname, aport){}
void clear() {
void clear() SAL_OVERRIDE {
[osxservice dealloc];
}
void setup() {
void setup() SAL_OVERRIDE {
osxservice = [[OSXBonjourService alloc] init];
[osxservice publishImpressRemoteServiceOnLocalNetworkWithName: @""];
};