PresenterProtocolHandler.cxx (c142477c) | PresenterProtocolHandler.cxx (494ddcdc) |
---|---|
1/************************************************************** 2 * 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 --- 42 unchanged lines hidden (view full) --- 51using namespace ::com::sun::star::drawing::framework; 52using ::rtl::OUString; 53 54#define A2S(pString) (::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(pString))) 55 56namespace sdext { namespace presenter { 57 58namespace { | 1/************************************************************** 2 * 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 --- 42 unchanged lines hidden (view full) --- 51using namespace ::com::sun::star::drawing::framework; 52using ::rtl::OUString; 53 54#define A2S(pString) (::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(pString))) 55 56namespace sdext { namespace presenter { 57 58namespace { |
59 const static OUString gsProtocol (A2S("vnd.com.sun.star.comp.PresenterScreen:")); | 59 const static OUString gsProtocol (A2S("vnd.com.sun.star.presentation.PresenterScreen:")); |
60 61 class Command 62 { 63 public: 64 virtual void Execute (void) = 0; 65 virtual bool IsEnabled (void) const = 0; 66 virtual Any GetState (void) const = 0; 67 }; --- 176 unchanged lines hidden (view full) --- 244 245 246 247 248//----- Service --------------------------------------------------------------- 249 250OUString PresenterProtocolHandler::getImplementationName_static (void) 251{ | 60 61 class Command 62 { 63 public: 64 virtual void Execute (void) = 0; 65 virtual bool IsEnabled (void) const = 0; 66 virtual Any GetState (void) const = 0; 67 }; --- 176 unchanged lines hidden (view full) --- 244 245 246 247 248//----- Service --------------------------------------------------------------- 249 250OUString PresenterProtocolHandler::getImplementationName_static (void) 251{ |
252 return A2S("vnd.sun.star.sdext.presenter.PresenterProtocolHandler"); | 252 return A2S("com.sun.star.comp.presentation.PresenterProtocolHandler"); |
253} 254 255 256 257 258Sequence<OUString> PresenterProtocolHandler::getSupportedServiceNames_static (void) 259{ 260 static const ::rtl::OUString sServiceName(A2S("com.sun.star.frame.ProtocolHandler")); --- 737 unchanged lines hidden --- | 253} 254 255 256 257 258Sequence<OUString> PresenterProtocolHandler::getSupportedServiceNames_static (void) 259{ 260 static const ::rtl::OUString sServiceName(A2S("com.sun.star.frame.ProtocolHandler")); --- 737 unchanged lines hidden --- |