2010-10-27 12:33:13 +01:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2012-06-14 17:39:53 +01:00
|
|
|
/*
|
|
|
|
* This file is part of the LibreOffice project.
|
|
|
|
*
|
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
*
|
|
|
|
* This file incorporates work covered by the following license notice:
|
|
|
|
*
|
|
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
* contributor license agreements. See the NOTICE file distributed
|
|
|
|
* with this work for additional information regarding copyright
|
|
|
|
* ownership. The ASF licenses this file to you under the Apache
|
|
|
|
* License, Version 2.0 (the "License"); you may not use this file
|
|
|
|
* except in compliance with the License. You may obtain a copy of
|
|
|
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
|
|
|
*/
|
2001-02-05 08:26:47 +00:00
|
|
|
#ifndef DBAUI_QUERYDESIGNUNDOACTION_HXX
|
|
|
|
#define DBAUI_QUERYDESIGNUNDOACTION_HXX
|
|
|
|
|
|
|
|
#include "GeneralUndo.hxx"
|
|
|
|
|
|
|
|
namespace dbaui
|
|
|
|
{
|
|
|
|
// ================================================================================================
|
2013-03-02 21:46:59 +01:00
|
|
|
// OQueryDesignUndoAction - undo base class for actions in graphical query design (without field list)
|
2001-08-27 13:24:58 +00:00
|
|
|
class OJoinTableView;
|
2001-02-05 08:26:47 +00:00
|
|
|
class OQueryDesignUndoAction : public OCommentUndoAction
|
|
|
|
{
|
|
|
|
protected:
|
2013-03-02 21:46:59 +01:00
|
|
|
OJoinTableView* m_pOwner; // in this container it all happens
|
2001-02-05 08:26:47 +00:00
|
|
|
|
|
|
|
public:
|
2011-01-14 15:00:11 +01:00
|
|
|
OQueryDesignUndoAction(OJoinTableView* pOwner, sal_uInt16 nCommentID) : OCommentUndoAction(nCommentID), m_pOwner(pOwner) { }
|
2001-02-05 08:26:47 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif // DBAUI_QUERYDESIGNUNDOACTION_HXX
|
|
|
|
|
2010-10-27 12:33:13 +01:00
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|