2010-10-14 08:30:41 +02:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2012-06-21 14:30:25 +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-01-25 19:03:18 +00:00
|
|
|
|
2013-11-05 02:17:53 +01:00
|
|
|
#ifndef INCLUDED_SW_INC_SWCALWRP_HXX
|
|
|
|
#define INCLUDED_SW_INC_SWCALWRP_HXX
|
2001-01-25 19:03:18 +00:00
|
|
|
|
2013-04-05 18:40:39 +02:00
|
|
|
#include <i18nlangtag/lang.h>
|
2013-10-20 15:15:42 +01:00
|
|
|
#include <rtl/ustring.hxx>
|
2001-01-25 19:03:18 +00:00
|
|
|
#include <unotools/calendarwrapper.hxx>
|
2009-09-08 04:57:32 +00:00
|
|
|
#include <salhelper/singletonref.hxx>
|
2001-01-25 19:03:18 +00:00
|
|
|
|
|
|
|
class SwCalendarWrapper : public CalendarWrapper
|
|
|
|
{
|
2013-10-10 14:13:27 +02:00
|
|
|
OUString sUniqueId;
|
2011-01-17 15:06:54 +01:00
|
|
|
sal_uInt16 nLang;
|
2001-01-25 19:03:18 +00:00
|
|
|
|
|
|
|
public:
|
2015-11-05 15:55:58 +02:00
|
|
|
SwCalendarWrapper( const css::uno::Reference< css::uno::XComponentContext > & rxContext = ::comphelper::getProcessComponentContext() )
|
2012-10-25 17:18:13 +02:00
|
|
|
: CalendarWrapper( rxContext ), nLang( LANGUAGE_SYSTEM )
|
2001-01-25 19:03:18 +00:00
|
|
|
{}
|
|
|
|
|
2011-01-17 15:06:54 +01:00
|
|
|
void LoadDefaultCalendar( sal_uInt16 nLang );
|
2001-01-25 19:03:18 +00:00
|
|
|
};
|
|
|
|
|
2009-09-08 04:57:32 +00:00
|
|
|
salhelper::SingletonRef<SwCalendarWrapper>* s_getCalendarWrapper();
|
2001-01-25 19:03:18 +00:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|
2010-10-14 08:30:41 +02:00
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|