summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Lohmann <pl@openoffice.org>2001-02-01 13:14:32 +0000
committerPhilipp Lohmann <pl@openoffice.org>2001-02-01 13:14:32 +0000
commit489c112ac73e8b1f731849a1ec785f0ab2c6d87c (patch)
tree3e2991601b3825bf706f56a4303df68f8bfc3a09
parente206328880cc901b8ba657d78e7158704f21dcfe (diff)
dummy implementation of new SalInstance methods
-rw-r--r--vcl/aqua/source/app/salinst.cxx25
-rw-r--r--vcl/os2/source/app/salinst.cxx25
-rw-r--r--vcl/win/source/app/salinst.cxx25
3 files changed, 69 insertions, 6 deletions
diff --git a/vcl/aqua/source/app/salinst.cxx b/vcl/aqua/source/app/salinst.cxx
index 6359ca7bef1b..2cad18fc62f5 100644
--- a/vcl/aqua/source/app/salinst.cxx
+++ b/vcl/aqua/source/app/salinst.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: salinst.cxx,v $
*
- * $Revision: 1.22 $
+ * $Revision: 1.23 $
*
- * last change: $Author: pluby $ $Date: 2001-01-05 18:04:34 $
+ * last change: $Author: pl $ $Date: 2001-02-01 14:14:32 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -410,3 +410,24 @@ void SalInstance::DestroySystem( SalSystem* pSystem )
{
delete pSystem;
}
+
+// -----------------------------------------------------------------------
+
+void SalInstance::SetEventCallback( void* pInstance, bool(*pCallback)(void*,void*,int) )
+{
+}
+
+// -----------------------------------------------------------------------
+
+void SalInstance::SetErrorEventCallback( void* pInstance, bool(*pCallback)(void*,void*,int) )
+{
+}
+
+// -----------------------------------------------------------------------
+
+void* SalInstance::GetConnectionIdentifier( ConnectionIdentifierType& rReturnedType, int& rReturnedBytes )
+{
+ rReturnedBytes = 1;
+ rReturnedType = AsciiCString;
+ return "";
+}
diff --git a/vcl/os2/source/app/salinst.cxx b/vcl/os2/source/app/salinst.cxx
index 8a3ef0d1315f..a2cf27fc97a8 100644
--- a/vcl/os2/source/app/salinst.cxx
+++ b/vcl/os2/source/app/salinst.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: salinst.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 17:05:34 $
+ * last change: $Author: pl $ $Date: 2001-02-01 14:13:53 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -752,3 +752,24 @@ void SalTimer::Start( ULONG nMS )
else
ImplSalStartTimer();
}
+
+// -----------------------------------------------------------------------
+
+void SalInstance::SetEventCallback( void* pInstance, bool(*pCallback)(void*,void*,int) )
+{
+}
+
+// -----------------------------------------------------------------------
+
+void SalInstance::SetErrorEventCallback( void* pInstance, bool(*pCallback)(void*,void*,int) )
+{
+}
+
+// -----------------------------------------------------------------------
+
+void* SalInstance::GetConnectionIdentifier( ConnectionIdentifierType& rReturnedType, int& rReturnedBytes )
+{
+ rReturnedBytes = 1;
+ rReturnedType = AsciiCString;
+ return "";
+}
diff --git a/vcl/win/source/app/salinst.cxx b/vcl/win/source/app/salinst.cxx
index e842fb045a47..d9f6c324d07c 100644
--- a/vcl/win/source/app/salinst.cxx
+++ b/vcl/win/source/app/salinst.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: salinst.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: th $ $Date: 2000-12-14 13:38:37 $
+ * last change: $Author: pl $ $Date: 2001-02-01 14:12:53 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -903,3 +903,24 @@ void SalInstance::DestroyObject( SalObject* pObject )
{
ImplSendMessage( maInstData.mhComWnd, SAL_MSG_DESTROYOBJECT, 0, (LPARAM)pObject );
}
+
+// -----------------------------------------------------------------------
+
+void SalInstance::SetEventCallback( void* pInstance, bool(*pCallback)(void*,void*,int) )
+{
+}
+
+// -----------------------------------------------------------------------
+
+void SalInstance::SetErrorEventCallback( void* pInstance, bool(*pCallback)(void*,void*,int) )
+{
+}
+
+// -----------------------------------------------------------------------
+
+void* SalInstance::GetConnectionIdentifier( ConnectionIdentifierType& rReturnedType, int& rReturnedBytes )
+{
+ rReturnedBytes = 1;
+ rReturnedType = AsciiCString;
+ return "";
+}