mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
38 lines
851 B
C++
38 lines
851 B
C++
#include "mozilla/test/TestProtocolChild.h"
|
|
|
|
namespace mozilla {
|
|
namespace test {
|
|
|
|
// Header file contents
|
|
class TestChild :
|
|
public TestProtocolChild
|
|
{
|
|
protected:
|
|
|
|
#if 1
|
|
//-----------------------------------------------------------------------------
|
|
// "Hello world" example
|
|
virtual nsresult RecvHello();
|
|
|
|
|
|
#elif 0
|
|
//-----------------------------------------------------------------------------
|
|
// Example solution to exercise
|
|
virtual nsresult RecvPing();
|
|
virtual nsresult RecvPong(const int& status);
|
|
virtual nsresult RecvTellValue(
|
|
const String& key,
|
|
const String& val);
|
|
virtual nsresult RecvTellValues(
|
|
const StringArray& keys,
|
|
const StringArray& vals);
|
|
#endif
|
|
|
|
public:
|
|
TestChild();
|
|
virtual ~TestChild();
|
|
};
|
|
|
|
} // namespace test
|
|
} // namespace mozilla
|