1
0
Fork 0
mirror of https://github.com/eliboa/TegraRcmGUI.git synced 2024-11-08 11:51:45 +00:00
TegraRcmGUI/TegraRcmGUIDlg.h

74 lines
1.8 KiB
C
Raw Normal View History

2018-05-10 23:39:24 +01:00
// TegraRcmGUIDlg.h : header file
//
#pragma once
#include "res/BitmapPicture.h"
#include <string>
#include "TegraRcmSmash.h"
#include "res/BitmapPicture.h"
#include <windows.h>
#include <string>
#include <thread>
#include <iostream>
#include <sstream>
#include <fstream>
#include <iostream>
#include <cstdio>
#include <memory>
#include <stdexcept>
#include <array>
2018-05-10 23:39:24 +01:00
// CTegraRcmGUIDlg dialog
class CTegraRcmGUIDlg : public CDialog
{
// Construction
2018-05-10 23:39:24 +01:00
public:
CTegraRcmGUIDlg(CWnd* pParent = NULL); // standard constructor
CBitmapPicture RCM_BITMAP0;
CBitmapPicture RCM_BITMAP1;
CBitmapPicture RCM_BITMAP2;
CBitmapPicture RCM_BITMAP3;
CBitmapPicture RCM_BITMAP4;
CBitmapPicture RCM_BITMAP5;
CBitmapPicture RCM_BITMAP6;
CMFCEditBrowseCtrl m_EditBrowse;
// Dialog Data
2018-05-10 23:39:24 +01:00
#ifdef AFX_DESIGN_TIME
enum { IDD = IDD_TEGRARCMGUI_DIALOG };
#endif
protected:
2018-05-10 23:39:24 +01:00
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
// Implementation
2018-05-10 23:39:24 +01:00
protected:
HICON m_hIcon;
// Generated message map functions
virtual BOOL OnInitDialog();
2018-05-10 23:39:24 +01:00
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnIdle();
afx_msg void OnShowWindow();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
DECLARE_MESSAGE_MAP()
public:
void StartTimer();
void StopTimer();
void OnTimer(UINT nIDEvent);
int STATUS;
afx_msg void BitmapDisplay(int IMG);
2018-05-10 23:39:24 +01:00
afx_msg void OnEnChangePath();
afx_msg void InjectPayload();
2018-05-10 23:39:24 +01:00
afx_msg void OnBnClickedShofel2();
afx_msg string GetPreset(string param);
afx_msg void SetPreset(string param, string value);
2018-05-15 19:42:54 +01:00
afx_msg void InstallDriver();
2018-05-17 18:46:51 +01:00
afx_msg BOOL LookForDriver();
afx_msg void OnBnClickedMountSd();
afx_msg int Smasher(TCHAR args[]);
afx_msg TCHAR* GetAbsolutePath(TCHAR *relative_path, DWORD dwFlags);
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd *pWnd, UINT nCtlColor);
2018-05-10 23:39:24 +01:00
};