Home | History | Annotate | Download | only in ImageManipulations
      1 //*********************************************************
      2 //
      3 // Copyright (c) Microsoft. All rights reserved.
      4 // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
      5 // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
      6 // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
      7 // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
      8 //
      9 //*********************************************************
     10 
     11 #pragma once
     12 
     13 #include <collection.h>
     14 namespace SDKSample
     15 {
     16     public value struct Scenario
     17     {
     18         Platform::String^ Title;
     19         Platform::String^ ClassName;
     20     };
     21 
     22     partial ref class MainPage
     23     {
     24     public:
     25         static property Platform::String^ FEATURE_NAME
     26         {
     27             Platform::String^ get()
     28             {
     29                 return ref new Platform::String(L"OpenCV Image Manipulations sample");
     30             }
     31         }
     32 
     33         static property Platform::Array<Scenario>^ scenarios
     34         {
     35             Platform::Array<Scenario>^ get()
     36             {
     37                 return scenariosInner;
     38             }
     39         }
     40     private:
     41         static Platform::Array<Scenario>^ scenariosInner;
     42     };
     43 
     44 
     45 }
     46