Kaydet (Commit) 65db69dd authored tarafından Stephan Bergmann's avatar Stephan Bergmann

SAL_OVERRIDE, Mac OS X sd redux

Change-Id: I9b2959bf77fc79bba2f4abb09681872f6d3a4300
üst b8b85207
...@@ -29,8 +29,8 @@ namespace sd ...@@ -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 { ...@@ -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: @""];
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment