Tag: cws_src680_qiq
User: fs      
Date: 06/05/12 04:08:51

Modified:
 /dba/dbaccess/source/ui/inc/
  JoinController.hxx

Log:
 #i51143# +allowViews/+allowQueries

File Changes:

Directory: /dba/dbaccess/source/ui/inc/
=======================================

File [changed]: JoinController.hxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/inc/JoinController.hxx?r1=1.20&r2=1.20.124.1
Delta lines:  +10 -7
--------------------
--- JoinController.hxx  8 Sep 2005 15:28:46 -0000       1.20
+++ JoinController.hxx  12 May 2006 11:08:48 -0000      1.20.124.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: JoinController.hxx,v $
  *
- *  $Revision: 1.20 $
+ *  $Revision: 1.20.124.1 $
  *
- *  last change: $Author: rt $ $Date: 2005/09/08 15:28:46 $
+ *  last change: $Author: fs $ $Date: 2006/05/12 11:08:48 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -79,8 +79,6 @@
 
                OAddTableDlg*   m_pAddTabDlg;           // is set by the first 
call of execute, the owner is the design view
 
-               sal_Bool        m_bViewsAllowed;    // true when the Add Table 
dialog should also show views
-
                // state of a feature. 'feature' may be the handle of a 
::com::sun::star::util::URL somebody requested a dispatch interface for OR a 
toolbar slot.
                virtual FeatureState    GetState(sal_uInt16 nId) const;
                // execute a feature
@@ -121,8 +119,13 @@
 
                void SaveTabWinsPosSize( OJoinTableView::OTableWindowMap* 
pTabWinList, long nOffsetX, long nOffsetY );
 
-               // should the statement be parsed by our own sql parser
-               inline sal_Bool         isViewAllowed()                 const { 
return m_bViewsAllowed; }
+        /** determines whether or not it's allowed for database views to 
participate in the game
+        */
+        virtual bool allowViews() const = 0;
+
+        /** determines whether or not it's allowed for queries to participate 
in the game
+        */
+        virtual bool allowQueries() const = 0;
 
                void                    SaveTabWinPosSize(OTableWindow* 
pTabWin, long nOffsetX, long nOffsetY);
 




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to