Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
f0546a51
Kaydet (Commit)
f0546a51
authored
Haz 03, 2014
tarafından
Thomas Arnhold
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
odk/examples: mark them as examples
Change-Id: Ie4b925b2411f2a26076de7d0dc367678b390dba8
üst
d758fb4d
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
61 additions
and
69 deletions
+61
-69
fixincludeguards.sh
bin/fixincludeguards.sh
+3
-1
addon.hxx
...uide/Components/Addons/ProtocolHandlerAddon_cpp/addon.hxx
+3
-3
OSubComponent.hxx
...DevelopersGuide/Database/DriverSkeleton/OSubComponent.hxx
+3
-3
OTypeInfo.hxx
...les/DevelopersGuide/Database/DriverSkeleton/OTypeInfo.hxx
+3
-3
SConnection.hxx
...s/DevelopersGuide/Database/DriverSkeleton/SConnection.hxx
+3
-3
SDatabaseMetaData.hxx
...lopersGuide/Database/DriverSkeleton/SDatabaseMetaData.hxx
+3
-3
SDriver.hxx
...mples/DevelopersGuide/Database/DriverSkeleton/SDriver.hxx
+3
-3
SPreparedStatement.hxx
...opersGuide/Database/DriverSkeleton/SPreparedStatement.hxx
+3
-3
SResultSet.hxx
...es/DevelopersGuide/Database/DriverSkeleton/SResultSet.hxx
+3
-3
SResultSetMetaData.hxx
...opersGuide/Database/DriverSkeleton/SResultSetMetaData.hxx
+3
-3
SStatement.hxx
...es/DevelopersGuide/Database/DriverSkeleton/SStatement.hxx
+3
-3
propertyids.hxx
...s/DevelopersGuide/Database/DriverSkeleton/propertyids.hxx
+3
-3
filterdetect.hxx
...FilterDevelopment/FlatXmlFilterDetection/filterdetect.hxx
+2
-2
SOActiveX.h
odk/examples/OLE/activex/SOActiveX.h
+3
-3
SOComWindowPeer.h
odk/examples/OLE/activex/SOComWindowPeer.h
+3
-9
StdAfx2.h
odk/examples/OLE/activex/StdAfx2.h
+3
-7
ListenerHelper.h
odk/examples/cpp/complextoolbarcontrols/ListenerHelper.h
+2
-2
MyJob.h
odk/examples/cpp/complextoolbarcontrols/MyJob.h
+2
-2
MyListener.h
odk/examples/cpp/complextoolbarcontrols/MyListener.h
+2
-2
MyProtocolHandler.h
odk/examples/cpp/complextoolbarcontrols/MyProtocolHandler.h
+2
-2
ctp_factory.hxx
odk/examples/cpp/custompanel/ctp_factory.hxx
+3
-3
ctp_panel.hxx
odk/examples/cpp/custompanel/ctp_panel.hxx
+3
-3
No files found.
bin/fixincludeguards.sh
Dosyayı görüntüle @
f0546a51
...
@@ -28,7 +28,9 @@ for fn in "$@"; do
...
@@ -28,7 +28,9 @@ for fn in "$@"; do
# global header in include/ top level dir:
# global header in include/ top level dir:
# drop the project dir
# drop the project dir
fnfixed
=
`
echo
$fn
|
sed
's,\(include\|odk/examples/cpp\|odk/examples/DevelopersGuide\)/,,g'
`
fnfixed
=
`
echo
$fn
|
sed
's,include/,,g'
`
# add examples prefix to headers in odk/examples
fnfixed
=
`
echo
$fnfixed
|
sed
's,odk/examples/\(cpp\|DevelopersGuide\|OLE\)/,examples_,g'
`
# convert file path to header guard
# convert file path to header guard
guard
=
`
echo
"
$fnfixed
"
|
sed
's/[\/\.-]/_/g'
|
tr
'a-z'
'A-Z'
`
guard
=
`
echo
"
$fnfixed
"
|
sed
's/[\/\.-]/_/g'
|
tr
'a-z'
'A-Z'
`
...
...
odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_cpp/addon.hxx
Dosyayı görüntüle @
f0546a51
...
@@ -33,8 +33,8 @@
...
@@ -33,8 +33,8 @@
*
*
*************************************************************************/
*************************************************************************/
#ifndef INCLUDED_COMPONENTS_ADDONS_PROTOCOLHANDLERADDON_CPP_ADDON_HXX
#ifndef INCLUDED_
EXAMPLES_
COMPONENTS_ADDONS_PROTOCOLHANDLERADDON_CPP_ADDON_HXX
#define INCLUDED_COMPONENTS_ADDONS_PROTOCOLHANDLERADDON_CPP_ADDON_HXX
#define INCLUDED_
EXAMPLES_
COMPONENTS_ADDONS_PROTOCOLHANDLERADDON_CPP_ADDON_HXX
#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/frame/XDispatchProvider.hpp>
#include <com/sun/star/frame/XDispatchProvider.hpp>
...
@@ -127,6 +127,6 @@ sal_Bool SAL_CALL Addon_supportsService( const ::rtl::OUString& ServiceName )
...
@@ -127,6 +127,6 @@ sal_Bool SAL_CALL Addon_supportsService( const ::rtl::OUString& ServiceName )
SAL_CALL
Addon_createInstance
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XComponentContext
>
&
rContext
)
SAL_CALL
Addon_createInstance
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XComponentContext
>
&
rContext
)
throw
(
::
com
::
sun
::
star
::
uno
::
Exception
);
throw
(
::
com
::
sun
::
star
::
uno
::
Exception
);
#endif // INCLUDED_COMPONENTS_ADDONS_PROTOCOLHANDLERADDON_CPP_ADDON_HXX
#endif // INCLUDED_
EXAMPLES_
COMPONENTS_ADDONS_PROTOCOLHANDLERADDON_CPP_ADDON_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
odk/examples/DevelopersGuide/Database/DriverSkeleton/OSubComponent.hxx
Dosyayı görüntüle @
f0546a51
...
@@ -33,8 +33,8 @@
...
@@ -33,8 +33,8 @@
*
*
*************************************************************************/
*************************************************************************/
#ifndef INCLUDED_DATABASE_DRIVERSKELETON_OSUBCOMPONENT_HXX
#ifndef INCLUDED_
EXAMPLES_
DATABASE_DRIVERSKELETON_OSUBCOMPONENT_HXX
#define INCLUDED_DATABASE_DRIVERSKELETON_OSUBCOMPONENT_HXX
#define INCLUDED_
EXAMPLES_
DATABASE_DRIVERSKELETON_OSUBCOMPONENT_HXX
#include <com/sun/star/lang/DisposedException.hpp>
#include <com/sun/star/lang/DisposedException.hpp>
#include <cppuhelper/interfacecontainer.h>
#include <cppuhelper/interfacecontainer.h>
...
@@ -238,6 +238,6 @@ namespace connectivity
...
@@ -238,6 +238,6 @@ namespace connectivity
}
}
}
}
#endif // INCLUDED_DATABASE_DRIVERSKELETON_OSUBCOMPONENT_HXX
#endif // INCLUDED_
EXAMPLES_
DATABASE_DRIVERSKELETON_OSUBCOMPONENT_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
odk/examples/DevelopersGuide/Database/DriverSkeleton/OTypeInfo.hxx
Dosyayı görüntüle @
f0546a51
...
@@ -33,8 +33,8 @@
...
@@ -33,8 +33,8 @@
*
*
*************************************************************************/
*************************************************************************/
#ifndef INCLUDED_DATABASE_DRIVERSKELETON_OTYPEINFO_HXX
#ifndef INCLUDED_
EXAMPLES_
DATABASE_DRIVERSKELETON_OTYPEINFO_HXX
#define INCLUDED_DATABASE_DRIVERSKELETON_OTYPEINFO_HXX
#define INCLUDED_
EXAMPLES_
DATABASE_DRIVERSKELETON_OTYPEINFO_HXX
#include <com/sun/star/sdbc/ColumnSearch.hpp>
#include <com/sun/star/sdbc/ColumnSearch.hpp>
#include <com/sun/star/sdbc/DataType.hpp>
#include <com/sun/star/sdbc/DataType.hpp>
...
@@ -95,6 +95,6 @@ namespace connectivity
...
@@ -95,6 +95,6 @@ namespace connectivity
};
};
}
}
#endif // INCLUDED_DATABASE_DRIVERSKELETON_OTYPEINFO_HXX
#endif // INCLUDED_
EXAMPLES_
DATABASE_DRIVERSKELETON_OTYPEINFO_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
odk/examples/DevelopersGuide/Database/DriverSkeleton/SConnection.hxx
Dosyayı görüntüle @
f0546a51
...
@@ -33,8 +33,8 @@
...
@@ -33,8 +33,8 @@
*
*
*************************************************************************/
*************************************************************************/
#ifndef INCLUDED_DATABASE_DRIVERSKELETON_SCONNECTION_HXX
#ifndef INCLUDED_
EXAMPLES_
DATABASE_DRIVERSKELETON_SCONNECTION_HXX
#define INCLUDED_DATABASE_DRIVERSKELETON_SCONNECTION_HXX
#define INCLUDED_
EXAMPLES_
DATABASE_DRIVERSKELETON_SCONNECTION_HXX
#include <com/sun/star/sdbc/SQLWarning.hpp>
#include <com/sun/star/sdbc/SQLWarning.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
...
@@ -153,6 +153,6 @@ namespace connectivity
...
@@ -153,6 +153,6 @@ namespace connectivity
}
}
}
}
#endif // INCLUDED_DATABASE_DRIVERSKELETON_SCONNECTION_HXX
#endif // INCLUDED_
EXAMPLES_
DATABASE_DRIVERSKELETON_SCONNECTION_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
odk/examples/DevelopersGuide/Database/DriverSkeleton/SDatabaseMetaData.hxx
Dosyayı görüntüle @
f0546a51
...
@@ -33,8 +33,8 @@
...
@@ -33,8 +33,8 @@
*
*
*************************************************************************/
*************************************************************************/
#ifndef INCLUDED_DATABASE_DRIVERSKELETON_SDATABASEMETADATA_HXX
#ifndef INCLUDED_
EXAMPLES_
DATABASE_DRIVERSKELETON_SDATABASEMETADATA_HXX
#define INCLUDED_DATABASE_DRIVERSKELETON_SDATABASEMETADATA_HXX
#define INCLUDED_
EXAMPLES_
DATABASE_DRIVERSKELETON_SDATABASEMETADATA_HXX
#include "SConnection.hxx"
#include "SConnection.hxx"
#include <com/sun/star/sdbc/XDatabaseMetaData.hpp>
#include <com/sun/star/sdbc/XDatabaseMetaData.hpp>
...
@@ -216,6 +216,6 @@ namespace connectivity
...
@@ -216,6 +216,6 @@ namespace connectivity
}
}
}
}
#endif // INCLUDED_DATABASE_DRIVERSKELETON_SDATABASEMETADATA_HXX
#endif // INCLUDED_
EXAMPLES_
DATABASE_DRIVERSKELETON_SDATABASEMETADATA_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
odk/examples/DevelopersGuide/Database/DriverSkeleton/SDriver.hxx
Dosyayı görüntüle @
f0546a51
...
@@ -33,8 +33,8 @@
...
@@ -33,8 +33,8 @@
*
*
*************************************************************************/
*************************************************************************/
#ifndef INCLUDED_DATABASE_DRIVERSKELETON_SDRIVER_HXX
#ifndef INCLUDED_
EXAMPLES_
DATABASE_DRIVERSKELETON_SDRIVER_HXX
#define INCLUDED_DATABASE_DRIVERSKELETON_SDRIVER_HXX
#define INCLUDED_
EXAMPLES_
DATABASE_DRIVERSKELETON_SDRIVER_HXX
#include <com/sun/star/sdbc/XDriver.hpp>
#include <com/sun/star/sdbc/XDriver.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
...
@@ -83,6 +83,6 @@ namespace connectivity
...
@@ -83,6 +83,6 @@ namespace connectivity
}
}
#endif // INCLUDED_DATABASE_DRIVERSKELETON_SDRIVER_HXX
#endif // INCLUDED_
EXAMPLES_
DATABASE_DRIVERSKELETON_SDRIVER_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
odk/examples/DevelopersGuide/Database/DriverSkeleton/SPreparedStatement.hxx
Dosyayı görüntüle @
f0546a51
...
@@ -33,8 +33,8 @@
...
@@ -33,8 +33,8 @@
*
*
*************************************************************************/
*************************************************************************/
#ifndef INCLUDED_DATABASE_DRIVERSKELETON_SPREPAREDSTATEMENT_HXX
#ifndef INCLUDED_
EXAMPLES_
DATABASE_DRIVERSKELETON_SPREPAREDSTATEMENT_HXX
#define INCLUDED_DATABASE_DRIVERSKELETON_SPREPAREDSTATEMENT_HXX
#define INCLUDED_
EXAMPLES_
DATABASE_DRIVERSKELETON_SPREPAREDSTATEMENT_HXX
#include "SStatement.hxx"
#include "SStatement.hxx"
#include <com/sun/star/sdbc/XPreparedStatement.hpp>
#include <com/sun/star/sdbc/XPreparedStatement.hpp>
...
@@ -146,6 +146,6 @@ namespace connectivity
...
@@ -146,6 +146,6 @@ namespace connectivity
}
}
}
}
#endif // INCLUDED_DATABASE_DRIVERSKELETON_SPREPAREDSTATEMENT_HXX
#endif // INCLUDED_
EXAMPLES_
DATABASE_DRIVERSKELETON_SPREPAREDSTATEMENT_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
odk/examples/DevelopersGuide/Database/DriverSkeleton/SResultSet.hxx
Dosyayı görüntüle @
f0546a51
...
@@ -33,8 +33,8 @@
...
@@ -33,8 +33,8 @@
*
*
*************************************************************************/
*************************************************************************/
#ifndef
CONNECTIVITY
_SRESULTSET_HXX
#ifndef
INCLUDED_EXAMPLES_DATABASE_DRIVERSKELETON
_SRESULTSET_HXX
#define
CONNECTIVITY
_SRESULTSET_HXX
#define
INCLUDED_EXAMPLES_DATABASE_DRIVERSKELETON
_SRESULTSET_HXX
#include <com/sun/star/sdbc/XResultSet.hpp>
#include <com/sun/star/sdbc/XResultSet.hpp>
#include <com/sun/star/sdbc/XRow.hpp>
#include <com/sun/star/sdbc/XRow.hpp>
...
@@ -217,6 +217,6 @@ namespace connectivity
...
@@ -217,6 +217,6 @@ namespace connectivity
}
}
}
}
#endif //
CONNECTIVITY
_SRESULTSET_HXX
#endif //
INCLUDED_EXAMPLES_DATABASE_DRIVERSKELETON
_SRESULTSET_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
odk/examples/DevelopersGuide/Database/DriverSkeleton/SResultSetMetaData.hxx
Dosyayı görüntüle @
f0546a51
...
@@ -33,8 +33,8 @@
...
@@ -33,8 +33,8 @@
*
*
*************************************************************************/
*************************************************************************/
#ifndef INCLUDED_DATABASE_DRIVERSKELETON_SRESULTSETMETADATA_HXX
#ifndef INCLUDED_
EXAMPLES_
DATABASE_DRIVERSKELETON_SRESULTSETMETADATA_HXX
#define INCLUDED_DATABASE_DRIVERSKELETON_SRESULTSETMETADATA_HXX
#define INCLUDED_
EXAMPLES_
DATABASE_DRIVERSKELETON_SRESULTSETMETADATA_HXX
#include <com/sun/star/sdbc/XResultSetMetaData.hpp>
#include <com/sun/star/sdbc/XResultSetMetaData.hpp>
#include <cppuhelper/implbase1.hxx>
#include <cppuhelper/implbase1.hxx>
...
@@ -88,6 +88,6 @@ namespace connectivity
...
@@ -88,6 +88,6 @@ namespace connectivity
}
}
}
}
#endif // INCLUDED_DATABASE_DRIVERSKELETON_SRESULTSETMETADATA_HXX
#endif // INCLUDED_
EXAMPLES_
DATABASE_DRIVERSKELETON_SRESULTSETMETADATA_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
odk/examples/DevelopersGuide/Database/DriverSkeleton/SStatement.hxx
Dosyayı görüntüle @
f0546a51
...
@@ -33,8 +33,8 @@
...
@@ -33,8 +33,8 @@
*
*
*************************************************************************/
*************************************************************************/
#ifndef INCLUDED_DATABASE_DRIVERSKELETON_SSTATEMENT_HXX
#ifndef INCLUDED_
EXAMPLES_
DATABASE_DRIVERSKELETON_SSTATEMENT_HXX
#define INCLUDED_DATABASE_DRIVERSKELETON_SSTATEMENT_HXX
#define INCLUDED_
EXAMPLES_
DATABASE_DRIVERSKELETON_SSTATEMENT_HXX
#include <com/sun/star/sdbc/XStatement.hpp>
#include <com/sun/star/sdbc/XStatement.hpp>
#include <com/sun/star/sdbc/XWarningsSupplier.hpp>
#include <com/sun/star/sdbc/XWarningsSupplier.hpp>
...
@@ -174,6 +174,6 @@ namespace connectivity
...
@@ -174,6 +174,6 @@ namespace connectivity
}
}
}
}
#endif // INCLUDED_DATABASE_DRIVERSKELETON_SSTATEMENT_HXX
#endif // INCLUDED_
EXAMPLES_
DATABASE_DRIVERSKELETON_SSTATEMENT_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
odk/examples/DevelopersGuide/Database/DriverSkeleton/propertyids.hxx
Dosyayı görüntüle @
f0546a51
...
@@ -33,8 +33,8 @@
...
@@ -33,8 +33,8 @@
*
*
*************************************************************************/
*************************************************************************/
#ifndef INCLUDED_DATABASE_DRIVERSKELETON_PROPERTYIDS_HXX
#ifndef INCLUDED_
EXAMPLES_
DATABASE_DRIVERSKELETON_PROPERTYIDS_HXX
#define INCLUDED_DATABASE_DRIVERSKELETON_PROPERTYIDS_HXX
#define INCLUDED_
EXAMPLES_
DATABASE_DRIVERSKELETON_PROPERTYIDS_HXX
// this define has to be set to split the names into different dll's or so's
// this define has to be set to split the names into different dll's or so's
// every dll has his own set of property names
// every dll has his own set of property names
...
@@ -141,6 +141,6 @@ namespace skeleton
...
@@ -141,6 +141,6 @@ namespace skeleton
#define PROPERTY_ID_PRIVILEGES 50
#define PROPERTY_ID_PRIVILEGES 50
#endif // INCLUDED_DATABASE_DRIVERSKELETON_PROPERTYIDS_HXX
#endif // INCLUDED_
EXAMPLES_
DATABASE_DRIVERSKELETON_PROPERTYIDS_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilterDetection/filterdetect.hxx
Dosyayı görüntüle @
f0546a51
...
@@ -33,8 +33,8 @@
...
@@ -33,8 +33,8 @@
*
*
*************************************************************************/
*************************************************************************/
#ifndef INCLUDED_OFFICEDEV_FILTERDEVELOPMENT_FLATXMLFILTERDETECTION_FILTERDETECT_HXX
#ifndef INCLUDED_
EXAMPLES_
OFFICEDEV_FILTERDEVELOPMENT_FLATXMLFILTERDETECTION_FILTERDETECT_HXX
#define INCLUDED_OFFICEDEV_FILTERDEVELOPMENT_FLATXMLFILTERDETECTION_FILTERDETECT_HXX
#define INCLUDED_
EXAMPLES_
OFFICEDEV_FILTERDEVELOPMENT_FLATXMLFILTERDETECTION_FILTERDETECT_HXX
#include <com/sun/star/document/XFilter.hpp>
#include <com/sun/star/document/XFilter.hpp>
...
...
odk/examples/OLE/activex/SOActiveX.h
Dosyayı görüntüle @
f0546a51
...
@@ -35,8 +35,8 @@
...
@@ -35,8 +35,8 @@
// SOActiveX.h : Declaration of the CSOActiveX
// SOActiveX.h : Declaration of the CSOActiveX
#ifndef
__SOACTIVEX_H_
#ifndef
INCLUDED_EXAMPLES_ACTIVEX_SOACTIVEX_H
#define
__SOACTIVEX_H_
#define
INCLUDED_EXAMPLES_ACTIVEX_SOACTIVEX_H
#include "resource.h"
#include "resource.h"
#include <ExDispID.h>
#include <ExDispID.h>
...
@@ -163,6 +163,6 @@ public:
...
@@ -163,6 +163,6 @@ public:
HRESULT
Cleanup
();
HRESULT
Cleanup
();
};
};
#endif //
__SOACTIVEX_H_
#endif //
INCLUDED_EXAMPLES_ACTIVEX_SOACTIVEX_H
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
odk/examples/OLE/activex/SOComWindowPeer.h
Dosyayı görüntüle @
f0546a51
...
@@ -35,14 +35,8 @@
...
@@ -35,14 +35,8 @@
// SOComWindowPeer.h: Definition of the SOComWindowPeer class
// SOComWindowPeer.h: Definition of the SOComWindowPeer class
#ifndef INCLUDED_EXAMPLES_ACTIVEX_SOCOMWINDOWPEER_H
#define INCLUDED_EXAMPLES_ACTIVEX_SOCOMWINDOWPEER_H
#ifndef __SOCOMWINDOWPEER_H_
#define __SOCOMWINDOWPEER_H_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "resource.h"
#include "resource.h"
#include <ExDispID.h>
#include <ExDispID.h>
...
@@ -160,6 +154,6 @@ DECLARE_REGISTRY_RESOURCEID(IDR_SOCOMWINDOWPEER)
...
@@ -160,6 +154,6 @@ DECLARE_REGISTRY_RESOURCEID(IDR_SOCOMWINDOWPEER)
void
SetHWNDInternally
(
HWND
hwnd
)
{
m_hwnd
=
hwnd
;
}
void
SetHWNDInternally
(
HWND
hwnd
)
{
m_hwnd
=
hwnd
;
}
};
};
#endif //
__SOCOMWINDOWPEER_H_
#endif //
INCLUDED_EXAMPLES_ACTIVEX_SOCOMWINDOWPEER_H
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
odk/examples/OLE/activex/StdAfx2.h
Dosyayı görüntüle @
f0546a51
...
@@ -37,12 +37,8 @@
...
@@ -37,12 +37,8 @@
// or project specific include files that are used frequently,
// or project specific include files that are used frequently,
// but are changed infrequently
// but are changed infrequently
#if !defined(AFX_STDAFX_H__C1799EA0_62CC_44DE_A2DD_C9F0410FF7F1__INCLUDED_)
#ifndef INCLUDED_EXAMPLES_ACTIVEX_STDAFX2_H
#define AFX_STDAFX_H__C1799EA0_62CC_44DE_A2DD_C9F0410FF7F1__INCLUDED_
#define INCLUDED_EXAMPLES_ACTIVEX_STDAFX2_H
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define STRICT
#define STRICT
#ifndef _WIN32_WINNT
#ifndef _WIN32_WINNT
...
@@ -63,6 +59,6 @@ extern CComModule _Module;
...
@@ -63,6 +59,6 @@ extern CComModule _Module;
//{{AFX_INSERT_LOCATION}}
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif //
!defined(AFX_STDAFX_H__C1799EA0_62CC_44DE_A2DD_C9F0410FF7F1__INCLUDED)
#endif //
INCLUDED_EXAMPLES_ACTIVEX_STDAFX2_H
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
odk/examples/cpp/complextoolbarcontrols/ListenerHelper.h
Dosyayı görüntüle @
f0546a51
...
@@ -17,8 +17,8 @@
...
@@ -17,8 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
*/
#ifndef INCLUDED_COMPLEXTOOLBARCONTROLS_LISTENERHELPER_H
#ifndef INCLUDED_
EXAMPLES_
COMPLEXTOOLBARCONTROLS_LISTENERHELPER_H
#define INCLUDED_COMPLEXTOOLBARCONTROLS_LISTENERHELPER_H
#define INCLUDED_
EXAMPLES_
COMPLEXTOOLBARCONTROLS_LISTENERHELPER_H
#include <map>
#include <map>
#include <vector>
#include <vector>
...
...
odk/examples/cpp/complextoolbarcontrols/MyJob.h
Dosyayı görüntüle @
f0546a51
...
@@ -17,8 +17,8 @@
...
@@ -17,8 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
*/
#ifndef INCLUDED_COMPLEXTOOLBARCONTROLS_MYJOB_H
#ifndef INCLUDED_
EXAMPLES_
COMPLEXTOOLBARCONTROLS_MYJOB_H
#define INCLUDED_COMPLEXTOOLBARCONTROLS_MYJOB_H
#define INCLUDED_
EXAMPLES_
COMPLEXTOOLBARCONTROLS_MYJOB_H
#include <com/sun/star/task/XJob.hpp>
#include <com/sun/star/task/XJob.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
...
...
odk/examples/cpp/complextoolbarcontrols/MyListener.h
Dosyayı görüntüle @
f0546a51
...
@@ -17,8 +17,8 @@
...
@@ -17,8 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
*/
#ifndef INCLUDED_COMPLEXTOOLBARCONTROLS_MYLISTENER_H
#ifndef INCLUDED_
EXAMPLES_
COMPLEXTOOLBARCONTROLS_MYLISTENER_H
#define INCLUDED_COMPLEXTOOLBARCONTROLS_MYLISTENER_H
#define INCLUDED_
EXAMPLES_
COMPLEXTOOLBARCONTROLS_MYLISTENER_H
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/task/XJob.hpp>
#include <com/sun/star/task/XJob.hpp>
...
...
odk/examples/cpp/complextoolbarcontrols/MyProtocolHandler.h
Dosyayı görüntüle @
f0546a51
...
@@ -17,8 +17,8 @@
...
@@ -17,8 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
*/
#ifndef INCLUDED_COMPLEXTOOLBARCONTROLS_MYPROTOCOLHANDLER_H
#ifndef INCLUDED_
EXAMPLES_
COMPLEXTOOLBARCONTROLS_MYPROTOCOLHANDLER_H
#define INCLUDED_COMPLEXTOOLBARCONTROLS_MYPROTOCOLHANDLER_H
#define INCLUDED_
EXAMPLES_
COMPLEXTOOLBARCONTROLS_MYPROTOCOLHANDLER_H
#include <com/sun/star/awt/XToolkit2.hpp>
#include <com/sun/star/awt/XToolkit2.hpp>
#include <com/sun/star/beans/NamedValue.hpp>
#include <com/sun/star/beans/NamedValue.hpp>
...
...
odk/examples/cpp/custompanel/ctp_factory.hxx
Dosyayı görüntüle @
f0546a51
...
@@ -17,8 +17,8 @@
...
@@ -17,8 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
*/
#ifndef INCLUDED_CUSTOMPANEL_CTP_FACTORY_HXX
#ifndef INCLUDED_
EXAMPLES_
CUSTOMPANEL_CTP_FACTORY_HXX
#define INCLUDED_CUSTOMPANEL_CTP_FACTORY_HXX
#define INCLUDED_
EXAMPLES_
CUSTOMPANEL_CTP_FACTORY_HXX
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/ui/XUIElementFactory.hpp>
#include <com/sun/star/ui/XUIElementFactory.hpp>
...
@@ -69,6 +69,6 @@ namespace sd { namespace colortoolpanel
...
@@ -69,6 +69,6 @@ namespace sd { namespace colortoolpanel
}
}
// namespace sd::colortoolpanel
}
}
// namespace sd::colortoolpanel
#endif // INCLUDED_CUSTOMPANEL_CTP_FACTORY_HXX
#endif // INCLUDED_
EXAMPLES_
CUSTOMPANEL_CTP_FACTORY_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
odk/examples/cpp/custompanel/ctp_panel.hxx
Dosyayı görüntüle @
f0546a51
...
@@ -17,8 +17,8 @@
...
@@ -17,8 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
*/
#ifndef INCLUDED_CUSTOMPANEL_CTP_PANEL_HXX
#ifndef INCLUDED_
EXAMPLES_
CUSTOMPANEL_CTP_PANEL_HXX
#define INCLUDED_CUSTOMPANEL_CTP_PANEL_HXX
#define INCLUDED_
EXAMPLES_
CUSTOMPANEL_CTP_PANEL_HXX
#include <com/sun/star/ui/XToolPanel.hpp>
#include <com/sun/star/ui/XToolPanel.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
...
@@ -111,6 +111,6 @@ namespace sd { namespace colortoolpanel
...
@@ -111,6 +111,6 @@ namespace sd { namespace colortoolpanel
}
}
// namespace sd::colortoolpanel
}
}
// namespace sd::colortoolpanel
#endif // INCLUDED_CUSTOMPANEL_CTP_PANEL_HXX
#endif // INCLUDED_
EXAMPLES_
CUSTOMPANEL_CTP_PANEL_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment