createsony.cpp
Upload User: puke2000
Upload Date: 2022-07-25
Package Size: 912k
Code Size: 1k
Category:

CSharp

Development Platform:

Visual C++

  1. //=====================================
  2. // createsony.cpp
  3. //=====================================
  4. #include"createsony.h"
  5. //-------------------------------------
  6. Sony* createSonyInch29(CreateSony* sp){
  7.   return sp->createInch29();
  8. }//------------------------------------
  9. Sony* createSonyInch43(CreateSony* sp){
  10.   return sp->createInch43();
  11. }//------------------------------------
  12. CreateSony* createCreateSony(int a){
  13.   switch(a){
  14.     case  0: return createPureflat();
  15.     case  1: return createPlasma();
  16.     case  2: return createLiquidCrystal();
  17.     default: return 0;
  18.   }
  19. }//------------------------------------
  20.