Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
704 B

  1. //========= Copyright � 1996-2006, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: Provide a shared place for library fucntions to report progress % for display
  4. //
  5. //=============================================================================//
  6. #ifndef PROGRESSBAR_H
  7. #define PROGRESSBAR_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. PLATFORM_INTERFACE void ReportProgress(char const *job_name, int total_units_to_do,
  12. int n_units_completed);
  13. typedef void (*ProgressReportHandler_t)( char const*, int, int );
  14. // install your own handler. returns previous handler
  15. PLATFORM_INTERFACE ProgressReportHandler_t InstallProgressReportHandler( ProgressReportHandler_t pfn);
  16. #endif