AccActionBase.h (5fdc4257) AccActionBase.h (3a700b0a)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
1/**************************************************************
4 *
2 *
5 * Copyright IBM Corporation 2010.
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 *
8 * OpenOffice.org - a multi-platform office productivity suite
9 *
10 * This file is part of OpenOffice.org.
11 *
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
15 *
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
21 *
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org. If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
26 *
27 ************************************************************************/
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License. You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied. See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
28
29//////////////////////////////////////////////////////////////////////
30// AccActionBase.h: interface for the CAccActionBase class.
31//////////////////////////////////////////////////////////////////////
32
33#if !defined(AFX_ACCACTIONBASE_H__F87FAD24_D66E_4D22_9B24_3304A303DC84__INCLUDED_)
34#define AFX_ACCACTIONBASE_H__F87FAD24_D66E_4D22_9B24_3304A303DC84__INCLUDED_
35

--- 21 unchanged lines hidden (view full) ---

57 STDMETHOD(nActions)(/*[out,retval]*/long* nActions);
58
59 // Performs specified action on the object.
60 STDMETHOD(doAction)(/* [in] */ long actionIndex);
61
62 // Gets description of specified action.
63 STDMETHOD(get_description)(long actionIndex,BSTR __RPC_FAR *description);
64
21
22//////////////////////////////////////////////////////////////////////
23// AccActionBase.h: interface for the CAccActionBase class.
24//////////////////////////////////////////////////////////////////////
25
26#if !defined(AFX_ACCACTIONBASE_H__F87FAD24_D66E_4D22_9B24_3304A303DC84__INCLUDED_)
27#define AFX_ACCACTIONBASE_H__F87FAD24_D66E_4D22_9B24_3304A303DC84__INCLUDED_
28

--- 21 unchanged lines hidden (view full) ---

50 STDMETHOD(nActions)(/*[out,retval]*/long* nActions);
51
52 // Performs specified action on the object.
53 STDMETHOD(doAction)(/* [in] */ long actionIndex);
54
55 // Gets description of specified action.
56 STDMETHOD(get_description)(long actionIndex,BSTR __RPC_FAR *description);
57
65 // added by qiuhd, 2006/06/28, for driver 07/11
58 // added , 2006/06/28, for driver 07/11
66 // get the action name
67 STDMETHOD(get_name)( long actionIndex, BSTR __RPC_FAR *name);
68
69 // get the localized action Name
70 STDMETHOD(get_localizedName)( long actionIndex, BSTR __RPC_FAR *localizedName);
71
72 // Returns key binding object (if any) associated with specified action
73 // key binding is string.

--- 26 unchanged lines hidden ---
59 // get the action name
60 STDMETHOD(get_name)( long actionIndex, BSTR __RPC_FAR *name);
61
62 // get the localized action Name
63 STDMETHOD(get_localizedName)( long actionIndex, BSTR __RPC_FAR *localizedName);
64
65 // Returns key binding object (if any) associated with specified action
66 // key binding is string.

--- 26 unchanged lines hidden ---