Simulation Core
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

CRemoveMudBucketPermissionVariables.f90 1.6 KiB

pirms 1 gada
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. module CRemoveMudBucketPermissionVariables
  2. use CVoidEventHandlerCollection
  3. implicit none
  4. logical :: RemoveMudBucketPermission = .false.
  5. public
  6. type(VoidEventHandlerCollection) :: OnRemoveMudBucketPermissionChange
  7. private :: RemoveMudBucketPermission
  8. contains
  9. subroutine Set_RemoveMudBucketPermission(v)
  10. implicit none
  11. logical , intent(in) :: v
  12. #ifdef ExcludeExtraChanges
  13. if(RemoveMudBucketPermission == v) return
  14. #endif
  15. RemoveMudBucketPermission = v
  16. #ifdef deb
  17. print*, 'RemoveMudBucketPermission=', RemoveMudBucketPermission
  18. #endif
  19. call OnRemoveMudBucketPermissionChange%RunAll()
  20. end subroutine
  21. logical function Get_RemoveMudBucketPermission()
  22. implicit none
  23. Get_RemoveMudBucketPermission = RemoveMudBucketPermission
  24. end function
  25. subroutine Set_RemoveMudBucketPermission_WN(v)
  26. !DEC$ ATTRIBUTES DLLEXPORT :: Set_RemoveMudBucketPermission_WN
  27. !DEC$ ATTRIBUTES ALIAS: 'Set_RemoveMudBucketPermission_WN' :: Set_RemoveMudBucketPermission_WN
  28. implicit none
  29. logical , intent(in) :: v
  30. call Set_RemoveMudBucketPermission(v)
  31. end subroutine
  32. logical function Get_RemoveMudBucketPermission_WN()
  33. !DEC$ ATTRIBUTES DLLEXPORT :: Get_RemoveMudBucketPermission_WN
  34. !DEC$ ATTRIBUTES ALIAS: 'Get_RemoveMudBucketPermission_WN' :: Get_RemoveMudBucketPermission_WN
  35. implicit none
  36. Get_RemoveMudBucketPermission_WN = RemoveMudBucketPermission
  37. end function
  38. end module CRemoveMudBucketPermissionVariables