diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-10-01 12:28:29 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-10-01 12:28:29 +0000 |
commit | d2b287cdd4f5bbe93b136d9f2bf2bf2cebfcbdb6 (patch) | |
tree | 4f639206bc55b316e2be549cdb3d4db323fb3e0f /dbaccess/source/ui/inc/dsmeta.hxx | |
parent | c8ebff286bc889d44236ab17de63fc3712c97acd (diff) |
CWS-TOOLING: integrate CWS dba31b
Diffstat (limited to 'dbaccess/source/ui/inc/dsmeta.hxx')
-rw-r--r-- | dbaccess/source/ui/inc/dsmeta.hxx | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/dbaccess/source/ui/inc/dsmeta.hxx b/dbaccess/source/ui/inc/dsmeta.hxx index 866d2cc8c65f..174d42803086 100644 --- a/dbaccess/source/ui/inc/dsmeta.hxx +++ b/dbaccess/source/ui/inc/dsmeta.hxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: dsmeta.hxx,v $ - * $Revision: 1.5 $ + * $Revision: 1.5.68.2 $ * * This file is part of OpenOffice.org. * @@ -70,7 +70,7 @@ namespace dbaui class DataSourceMetaData { public: - DataSourceMetaData( DATASOURCE_TYPE _eType ); + DataSourceMetaData( ::dbaccess::DATASOURCE_TYPE _eType ); ~DataSourceMetaData(); /// returns a struct describing this data source type's support for our known advanced settings @@ -79,7 +79,7 @@ namespace dbaui /// determines whether or not the data source requires authentication AuthenticationMode getAuthentication() const; - static AuthenticationMode getAuthentication( DATASOURCE_TYPE _eType ); + static AuthenticationMode getAuthentication( ::dbaccess::DATASOURCE_TYPE _eType ); private: ::boost::shared_ptr< DataSourceMetaData_Impl > m_pImpl; @@ -108,6 +108,7 @@ namespace dbaui bool bBooleanComparisonMode; bool bFormsCheckRequiredFields; bool bIgnoreCurrency; + bool bAutoIncrementIsPrimaryKey; // Note: If you extend this list, you need to adjust the ctor (of course) // and (maybe) the implementation of supportsAnySpecialSetting @@ -127,6 +128,7 @@ namespace dbaui ,bBooleanComparisonMode ( true ) ,bFormsCheckRequiredFields ( true ) ,bIgnoreCurrency ( false ) + ,bAutoIncrementIsPrimaryKey ( false ) { } @@ -152,7 +154,9 @@ namespace dbaui || ( bUseDOSLineEnds == true ) || ( bBooleanComparisonMode == true ) || ( bFormsCheckRequiredFields == true ) - || ( bIgnoreCurrency == true ); + || ( bIgnoreCurrency == true ) + || ( bAutoIncrementIsPrimaryKey == true ) + ; } //........................................................................ |