/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * 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 . */ #ifndef INCLUDED_SD_INC_FACTORYIDS_HXX #define INCLUDED_SD_INC_FACTORYIDS_HXX #include namespace sd { /** This are ids used by SfxTopFrame::Create() or CreateViewFrame() to select a factory to create an instance of an SfxViewShell super class. This allows the caller to create a view shell directly with a certain view instead of first create a default view and then switch to the desired view. */ constexpr auto IMPRESS_FACTORY_ID = SfxInterfaceId(1); constexpr auto DRAW_FACTORY_ID = SfxInterfaceId(1); constexpr auto SLIDE_SORTER_FACTORY_ID = SfxInterfaceId(2); constexpr auto OUTLINE_FACTORY_ID = SfxInterfaceId(3); constexpr auto PRESENTATION_FACTORY_ID = SfxInterfaceId(4); } // end of namespace sd #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ e-6-1'>distro/cib/libreoffice-6-1 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/store
AgeCommit message (Expand)Author
2014-06-13loplugin:staticcallStephan Bergmann
2014-06-06Bin ugly (ab)use of preprocessor in headers (final part)Thomas Arnhold
2014-06-05various: remove SAL_THROW macroNoel Grandin
2014-05-12fdo#43157 Remove OSL_POSTCOND, prefer SAL_WARN_IFMichaël Lefèvre
2014-05-05simplify ternary conditions "xxx ? yyy : false"Noel Grandin
2014-04-19fixincludeguards.sh: some smaller dirsThomas Arnhold
2014-04-07TypoStephan Bergmann
2014-04-07Fix READMEStephan Bergmann
2014-04-04Clean up unreferenced functionsStephan Bergmann
2014-03-27remove PROFILE checksThomas Arnhold
2014-03-27sfx2, sc: remove macros for using Windows NT Call ProfilerMichael Stahl
2014-03-26First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann
2014-03-12No need for isKindOf to be SAL_CALLStephan Bergmann
2014-02-27Remove visual noise from storeAlexander Wilms
2014-02-17store: sal_Bool -> boolStephan Bergmann
2014-01-28bool improvementsStephan Bergmann
2013-11-11convert OUString compareToAscii == 0 to equalsAsciiNoel Grandin
2013-07-09Remove warning by using the right printf commandsArnaud Versini
2013-06-20-Werror,-Wdeprecated-registerStephan Bergmann
2013-06-10mingw64: use the sal formatting strings in storeFridrich Štrba
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2013-04-24gbuild: drop empty use_packages callsDavid Tardon