spritecanvas.hxx (91c99ff4) | spritecanvas.hxx (6d53c851) |
---|---|
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 --- 65 unchanged lines hidden (view full) --- 74 ::canvas::SpriteCanvasBase, as this template should already 75 implement some of those interface methods. 76 77 The reason why this appears kinda convoluted is the fact that 78 we cannot specify non-IDL types as WeakComponentImplHelperN 79 template args, and furthermore, don't want to derive 80 ::canvas::SpriteCanvasBase directly from 81 ::canvas::SpriteSurface (because derivees of | 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 --- 65 unchanged lines hidden (view full) --- 74 ::canvas::SpriteCanvasBase, as this template should already 75 implement some of those interface methods. 76 77 The reason why this appears kinda convoluted is the fact that 78 we cannot specify non-IDL types as WeakComponentImplHelperN 79 template args, and furthermore, don't want to derive 80 ::canvas::SpriteCanvasBase directly from 81 ::canvas::SpriteSurface (because derivees of |
82 ::canvas::SpriteCanvasBase have to explicitely forward the | 82 ::canvas::SpriteCanvasBase have to explicitly forward the |
83 XInterface methods (e.g. via DECLARE_UNO3_AGG_DEFAULTS) 84 anyway). Basically, ::canvas::CanvasCustomSpriteBase should 85 remain a base class that provides implementation, not to 86 enforce any specific interface on its derivees. 87 */ 88 class SpriteCanvasBaseSpriteSurface_Base : public SpriteCanvasBase_Base, 89 public ::canvas::SpriteSurface 90 { --- 78 unchanged lines hidden --- | 83 XInterface methods (e.g. via DECLARE_UNO3_AGG_DEFAULTS) 84 anyway). Basically, ::canvas::CanvasCustomSpriteBase should 85 remain a base class that provides implementation, not to 86 enforce any specific interface on its derivees. 87 */ 88 class SpriteCanvasBaseSpriteSurface_Base : public SpriteCanvasBase_Base, 89 public ::canvas::SpriteSurface 90 { --- 78 unchanged lines hidden --- |