1999-03-24 02:16:41 +00:00
|
|
|
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/*
|
1999-11-06 03:43:54 +00:00
|
|
|
* The contents of this file are subject to the Netscape Public
|
|
|
|
* License Version 1.1 (the "License"); you may not use this file
|
|
|
|
* except in compliance with the License. You may obtain a copy of
|
|
|
|
* the License at http://www.mozilla.org/NPL/
|
1999-03-24 02:16:41 +00:00
|
|
|
*
|
1999-11-06 03:43:54 +00:00
|
|
|
* Software distributed under the License is distributed on an "AS
|
|
|
|
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
|
|
* implied. See the License for the specific language governing
|
|
|
|
* rights and limitations under the License.
|
1999-03-24 02:16:41 +00:00
|
|
|
*
|
|
|
|
* The Original Code is Mozilla Communicator client code,
|
|
|
|
* released March 31, 1998.
|
|
|
|
*
|
|
|
|
* The Initial Developer of the Original Code is Netscape Communications
|
1999-11-06 03:43:54 +00:00
|
|
|
* Corporation. Portions created by Netscape are
|
|
|
|
* Copyright (C) 1998 Netscape Communications Corporation. All
|
|
|
|
* Rights Reserved.
|
1999-03-24 02:16:41 +00:00
|
|
|
*
|
1999-11-06 03:43:54 +00:00
|
|
|
* Contributor(s):
|
1999-03-24 02:16:41 +00:00
|
|
|
* Daniel Veditz <dveditz@netscape.com>
|
|
|
|
* Douglas Turner <dougt@netscape.com>
|
2000-07-10 21:02:16 +00:00
|
|
|
* Samir Gehani <sgehani@netscape.com>
|
1999-03-24 02:16:41 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __SCHEDULEDTASKS_H__
|
|
|
|
#define __SCHEDULEDTASKS_H__
|
|
|
|
|
|
|
|
|
|
|
|
#include "NSReg.h"
|
2000-02-15 01:32:12 +00:00
|
|
|
//#include "mozreg.h"
|
1999-05-07 00:05:54 +00:00
|
|
|
#include "nsFileSpec.h"
|
2000-04-21 18:58:41 +00:00
|
|
|
#include "nsIFile.h"
|
1999-03-24 02:16:41 +00:00
|
|
|
|
1999-11-03 07:46:38 +00:00
|
|
|
PR_BEGIN_EXTERN_C
|
1999-03-24 02:16:41 +00:00
|
|
|
|
2000-04-21 18:58:41 +00:00
|
|
|
PRInt32 DeleteFileNowOrSchedule(nsIFile* filename);
|
|
|
|
PRInt32 ReplaceFileNowOrSchedule(nsIFile* tmpfile, nsIFile* target );
|
2000-07-10 21:02:16 +00:00
|
|
|
PRInt32 ScheduleFileForDeletion(nsIFile* filename);
|
1999-05-07 00:05:54 +00:00
|
|
|
|
|
|
|
|
2000-02-15 01:32:12 +00:00
|
|
|
void PerformScheduledTasks(HREG reg);
|
1999-03-24 02:16:41 +00:00
|
|
|
|
1999-11-03 07:46:38 +00:00
|
|
|
PR_END_EXTERN_C
|
1999-03-24 02:16:41 +00:00
|
|
|
|
1999-06-24 20:20:12 +00:00
|
|
|
#endif
|