canvascustomsprite.hxx (91c99ff4) | canvascustomsprite.hxx (56b8eddc) |
---|---|
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 --- 52 unchanged lines hidden (view full) --- 61 ::canvas::CanvasCustomSpriteBase, as this template should 62 already implement some of those interface methods. 63 64 The reason why this appears kinda convoluted is the fact that 65 we cannot specify non-IDL types as WeakComponentImplHelperN 66 template args, and furthermore, don't want to derive 67 ::canvas::CanvasCustomSpriteBase directly from 68 ::canvas::Sprite (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 --- 52 unchanged lines hidden (view full) --- 61 ::canvas::CanvasCustomSpriteBase, as this template should 62 already implement some of those interface methods. 63 64 The reason why this appears kinda convoluted is the fact that 65 we cannot specify non-IDL types as WeakComponentImplHelperN 66 template args, and furthermore, don't want to derive 67 ::canvas::CanvasCustomSpriteBase directly from 68 ::canvas::Sprite (because derivees of |
69 ::canvas::CanvasCustomSpriteBase have to explicitely forward | 69 ::canvas::CanvasCustomSpriteBase have to explicitly forward |
70 the XInterface methods (e.g. via DECLARE_UNO3_AGG_DEFAULTS) 71 anyway). Basically, ::canvas::CanvasCustomSpriteBase should 72 remain a base class that provides implementation, not to 73 enforce any specific interface on its derivees. 74 */ 75 class CanvasCustomSpriteSpriteBase_Base : public ::canvas::BaseMutexHelper< CanvasCustomSpriteBase_Base >, 76 public Sprite 77 { --- 52 unchanged lines hidden --- | 70 the XInterface methods (e.g. via DECLARE_UNO3_AGG_DEFAULTS) 71 anyway). Basically, ::canvas::CanvasCustomSpriteBase should 72 remain a base class that provides implementation, not to 73 enforce any specific interface on its derivees. 74 */ 75 class CanvasCustomSpriteSpriteBase_Base : public ::canvas::BaseMutexHelper< CanvasCustomSpriteBase_Base >, 76 public Sprite 77 { --- 52 unchanged lines hidden --- |