Forward Declaration | developer.brewmp.com Forward Declaration | developer.brewmp.com

Developer

Forward Declaration

Is Forward declaration of class allowed for BREW using ARM compiler?

Thanks,
-Prateek.

Sure!
Here's an example taken straight from real code
class ImageAssetRequest;
class Asset;
class AssetCacheObserver
{
public:
// The requested Asset key is now available
virtual void AssetReady(const ImageAssetRequest& request) = 0;

Sure!
Here's an example taken straight from real code
class ImageAssetRequest;
class Asset;
class AssetCacheObserver
{
public:
// The requested Asset key is now available
virtual void AssetReady(const ImageAssetRequest& request) = 0;