15d39f272SZheng Fan /**************************************************************
25d39f272SZheng Fan  *
35d39f272SZheng Fan  * Licensed to the Apache Software Foundation (ASF) under one
45d39f272SZheng Fan  * or more contributor license agreements.  See the NOTICE file
55d39f272SZheng Fan  * distributed with this work for additional information
65d39f272SZheng Fan  * regarding copyright ownership.  The ASF licenses this file
75d39f272SZheng Fan  * to you under the Apache License, Version 2.0 (the
85d39f272SZheng Fan  * "License"); you may not use this file except in compliance
95d39f272SZheng Fan  * with the License.  You may obtain a copy of the License at
105d39f272SZheng Fan  *
115d39f272SZheng Fan  *   http://www.apache.org/licenses/LICENSE-2.0
125d39f272SZheng Fan  *
135d39f272SZheng Fan  * Unless required by applicable law or agreed to in writing,
145d39f272SZheng Fan  * software distributed under the License is distributed on an
155d39f272SZheng Fan  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
165d39f272SZheng Fan  * KIND, either express or implied.  See the License for the
175d39f272SZheng Fan  * specific language governing permissions and limitations
185d39f272SZheng Fan  * under the License.
195d39f272SZheng Fan  *
205d39f272SZheng Fan  *************************************************************/
215d39f272SZheng Fan 
225d39f272SZheng Fan #ifndef SFX_SIDEBAR_CONTEXT_CHANGE_RECEIVER_INTERFACE_HXX
235d39f272SZheng Fan #define SFX_SIDEBAR_CONTEXT_CHANGE_RECEIVER_INTERFACE_HXX
245d39f272SZheng Fan 
255d39f272SZheng Fan #include "EnumContext.hxx"
26*3fc59d38SAndre Fischer #include "sfx2/dllapi.h"
275d39f272SZheng Fan 
285d39f272SZheng Fan 
295d39f272SZheng Fan namespace sfx2 { namespace sidebar {
305d39f272SZheng Fan 
315d39f272SZheng Fan 
325d39f272SZheng Fan class SFX2_DLLPUBLIC IContextChangeReceiver
335d39f272SZheng Fan {
345d39f272SZheng Fan public:
35*3fc59d38SAndre Fischer     virtual ~IContextChangeReceiver (void);
36*3fc59d38SAndre Fischer 
37*3fc59d38SAndre Fischer     virtual void HandleContextChange (const EnumContext aContext) = 0;
385d39f272SZheng Fan };
395d39f272SZheng Fan 
405d39f272SZheng Fan } } // end of namespace ::sd::sidebar
415d39f272SZheng Fan 
425d39f272SZheng Fan #endif
43