From 62533695db9298fb991b14a8933fc7a28e649dff Mon Sep 17 00:00:00 2001 From: Mamitiana RASOLOJAONA Date: Fri, 5 Apr 2024 14:06:24 +0200 Subject: [PATCH 1/2] fix bug --- enginecustom/Translate.xaml | 13 ------------- enginecustom/enginecustom.vcxproj | 13 ------------- enginecustom/enginecustom.vcxproj.filters | 10 ++++++++++ enginecustom/translate.cpp | 18 ------------------ enginecustom/translate.h | 21 --------------------- 5 files changed, 10 insertions(+), 65 deletions(-) delete mode 100644 enginecustom/Translate.xaml delete mode 100644 enginecustom/translate.cpp delete mode 100644 enginecustom/translate.h diff --git a/enginecustom/Translate.xaml b/enginecustom/Translate.xaml deleted file mode 100644 index 0780d74..0000000 --- a/enginecustom/Translate.xaml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - diff --git a/enginecustom/enginecustom.vcxproj b/enginecustom/enginecustom.vcxproj index db59440..0dbe4d7 100644 --- a/enginecustom/enginecustom.vcxproj +++ b/enginecustom/enginecustom.vcxproj @@ -49,10 +49,6 @@ - - translate.vs - Code - @@ -84,10 +80,6 @@ - - translate.vs - Code - @@ -153,11 +145,6 @@ Designer - - - Designer - - 17.0 Win32Proj diff --git a/enginecustom/enginecustom.vcxproj.filters b/enginecustom/enginecustom.vcxproj.filters index d4d2071..bd8b086 100644 --- a/enginecustom/enginecustom.vcxproj.filters +++ b/enginecustom/enginecustom.vcxproj.filters @@ -114,6 +114,9 @@ Fichiers sources + + Fichiers sources + @@ -200,6 +203,9 @@ Fichiers d%27en-tête + + Fichiers d%27en-tête + @@ -304,4 +310,8 @@ assets + + + + \ No newline at end of file diff --git a/enginecustom/translate.cpp b/enginecustom/translate.cpp deleted file mode 100644 index 7bf765c..0000000 --- a/enginecustom/translate.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "pch.h" -#include "Translate.h" -#if __has_include("Translate.g.cpp") -#include "Translate.g.cpp" -#endif - -namespace winrt::enginecustom::implementation -{ - int32_t Translate::MyProperty() - { - throw hresult_not_implemented(); - } - - void Translate::MyProperty(int32_t /*value*/) - { - throw hresult_not_implemented(); - } -} diff --git a/enginecustom/translate.h b/enginecustom/translate.h deleted file mode 100644 index 5e8a544..0000000 --- a/enginecustom/translate.h +++ /dev/null @@ -1,21 +0,0 @@ -#pragma once - -#include "Translate.g.h" - -namespace winrt::enginecustom::implementation -{ - struct Translate : TranslateT - { - Translate() = default; - - int32_t MyProperty(); - void MyProperty(int32_t value); - }; -} - -namespace winrt::enginecustom::factory_implementation -{ - struct Translate : TranslateT - { - }; -} From e999885b62e529c8da7f49e28087bd94f62f694e Mon Sep 17 00:00:00 2001 From: Mamitiana RASOLOJAONA Date: Fri, 5 Apr 2024 14:45:30 +0200 Subject: [PATCH 2/2] -fix translate --- enginecustom/enginecustom.vcxproj | 21 ++++++--------------- enginecustom/enginecustom.vcxproj.filters | 8 ++++++-- 2 files changed, 12 insertions(+), 17 deletions(-) diff --git a/enginecustom/enginecustom.vcxproj b/enginecustom/enginecustom.vcxproj index 0dbe4d7..424c14d 100644 --- a/enginecustom/enginecustom.vcxproj +++ b/enginecustom/enginecustom.vcxproj @@ -1,6 +1,5 @@ - Debug @@ -138,12 +137,14 @@ - + Designer - - + Document + + Designer - + Document + 17.0 @@ -254,14 +255,4 @@ - - - - - - Ce projet fait référence à des packages NuGet qui sont manquants sur cet ordinateur. Utilisez l'option de restauration des packages NuGet pour les télécharger. Pour plus d'informations, consultez http://go.microsoft.com/fwlink/?LinkID=322105. Le fichier manquant est : {0}. - - - - \ No newline at end of file diff --git a/enginecustom/enginecustom.vcxproj.filters b/enginecustom/enginecustom.vcxproj.filters index bd8b086..691d299 100644 --- a/enginecustom/enginecustom.vcxproj.filters +++ b/enginecustom/enginecustom.vcxproj.filters @@ -311,7 +311,11 @@ - - + + shader + + + shader + \ No newline at end of file